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
1 changed files with 1 additions and 1 deletions

View File

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