record IsAvc

This commit is contained in:
Luke Pulverenti committed 2016-04-27 15:23:05 -04:00
1 parent 92bdbe22b4
commit dfa2557874
6 files changed
+74 -5

No files matched your search

@@ -575,6 +575,14 @@ namespace MediaBrowser.MediaEncoding.Encoder
return false;
}
if (string.Equals("h264", videoStream.Codec, StringComparison.OrdinalIgnoreCase))
{
if (videoStream.IsAVC.HasValue && !videoStream.IsAVC.Value)
{
return false;
}
}
// If client is requesting a specific video profile, it must match the source
if (!string.IsNullOrEmpty(request.Profile))
{