mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-05 13:45:53 +00:00
normalize session object
This commit is contained in:
1 parent
d76bcd8473
commit
282dce7f10
16 files changed
+76
-369
No files matched your search
@@ -1604,7 +1604,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
}
|
||||
|
||||
// Only do this for video files due to sometimes unpredictable codec names coming from BDInfo
|
||||
if (state.VideoType == VideoType.VideoFile && string.IsNullOrWhiteSpace(encodingOptions.HardwareAccelerationType))
|
||||
if (state.VideoType == VideoType.VideoFile && state.RunTimeTicks.HasValue && string.IsNullOrWhiteSpace(encodingOptions.HardwareAccelerationType))
|
||||
{
|
||||
foreach (var stream in state.MediaSource.MediaStreams)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user