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…
Reference in New Issue
Block a user