mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
added profile and level to progressive streaming
This commit is contained in:
parent
071e13fb4c
commit
8b9d333608
@ -156,6 +156,17 @@ namespace MediaBrowser.Api.Playback.Progressive
|
|||||||
}
|
}
|
||||||
|
|
||||||
args += " -vsync vfr";
|
args += " -vsync vfr";
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(state.VideoRequest.Profile))
|
||||||
|
{
|
||||||
|
args += " -profile:v " + state.VideoRequest.Profile;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(state.VideoRequest.Level))
|
||||||
|
{
|
||||||
|
args += " -level 3 " + state.VideoRequest.Level;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (IsH264(state.VideoStream))
|
else if (IsH264(state.VideoStream))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user