|
|
|
@ -1278,7 +1278,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|
|
|
|
param += " -pix_fmt nv21";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var isVc1 = string.Equals(state.VideoStream.Codec, "vc1", StringComparison.OrdinalIgnoreCase);
|
|
|
|
|
var isVc1 = string.Equals(state.VideoStream?.Codec, "vc1", StringComparison.OrdinalIgnoreCase);
|
|
|
|
|
var isLibX265 = string.Equals(videoEncoder, "libx265", StringComparison.OrdinalIgnoreCase);
|
|
|
|
|
|
|
|
|
|
if (string.Equals(videoEncoder, "libx264", StringComparison.OrdinalIgnoreCase) || isLibX265)
|
|
|
|
|