Fix LiveTV hardware decoding

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
nyanmisaka 2023-03-05 03:51:14 +08:00
parent 22a8283a9e
commit 4d1a583297

View File

@ -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