added profile and level to progressive streaming

pull/702/head
Luke Pulverenti 12 years ago
parent 071e13fb4c
commit 8b9d333608

@ -156,6 +156,17 @@ namespace MediaBrowser.Api.Playback.Progressive
}
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))
{

Loading…
Cancel
Save