added profile and level to progressive streaming

This commit is contained in:
Luke Pulverenti 2013-03-28 10:48:56 -04:00
parent 071e13fb4c
commit 8b9d333608

View File

@ -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))
{