Selaa lähdekoodia

Backport pull request #9430 from jellyfin/release-10.8.z

Fix Live TV hardware decoding

Original-merge: efc79295decce252e03978814fc09505bbb47956

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: crobibero <cody@robibe.ro>
nyanmisaka 2 vuotta sitten
vanhempi
sitoutus
2146ddd20c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

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

@@ -4792,7 +4792,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