mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-30 19:32:57 +01:00
added more card layouts
This commit is contained in:
@@ -1402,6 +1402,13 @@ namespace MediaBrowser.Api.Playback
|
||||
videoRequest.Profile = val;
|
||||
}
|
||||
}
|
||||
else if (i == 20)
|
||||
{
|
||||
if (videoRequest != null)
|
||||
{
|
||||
videoRequest.Cabac = string.Equals("true", val, StringComparison.OrdinalIgnoreCase);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1867,6 +1874,14 @@ namespace MediaBrowser.Api.Playback
|
||||
}
|
||||
}
|
||||
|
||||
if (request.Cabac.HasValue && request.Cabac.Value)
|
||||
{
|
||||
if (videoStream.IsCabac.HasValue && !videoStream.IsCabac.Value)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return request.EnableAutoStreamCopy;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user