Explorar el Código

Merge pull request #9430 from nyanmisaka/livetv-hwdec

Bond-009 hace 2 años
padre
commit
efc79295de
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 1 - 1
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

@@ -4397,7 +4397,7 @@ namespace MediaBrowser.Controller.MediaEncoding
             }
             }
 
 
             // HWA decoders can handle both video files and video folders.
             // HWA decoders can handle both video files and video folders.
-            var videoType = mediaSource.VideoType;
+            var videoType = state.VideoType;
             if (videoType != VideoType.VideoFile
             if (videoType != VideoType.VideoFile
                 && videoType != VideoType.Iso
                 && videoType != VideoType.Iso
                 && videoType != VideoType.Dvd
                 && videoType != VideoType.Dvd