fix merge conflict
This commit is contained in:
parent
4595c3854c
commit
255747337a
|
@ -258,17 +258,17 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||||
|
|
||||||
var mediaInfo = new ProbeResultNormalizer(_logger, FileSystem).GetMediaInfo(result, videoType, isAudio, primaryPath, protocol);
|
var mediaInfo = new ProbeResultNormalizer(_logger, FileSystem).GetMediaInfo(result, videoType, isAudio, primaryPath, protocol);
|
||||||
|
|
||||||
var videoStream = mediaInfo.MediaStreams.FirstOrDefault(i => i.Type == MediaStreamType.Video);
|
//var videoStream = mediaInfo.MediaStreams.FirstOrDefault(i => i.Type == MediaStreamType.Video);
|
||||||
|
|
||||||
if (videoStream != null)
|
//if (videoStream != null)
|
||||||
{
|
//{
|
||||||
var isInterlaced = await DetectInterlaced(mediaInfo, videoStream, inputPath, probeSizeArgument).ConfigureAwait(false);
|
// var isInterlaced = await DetectInterlaced(mediaInfo, videoStream, inputPath, probeSizeArgument).ConfigureAwait(false);
|
||||||
|
|
||||||
if (isInterlaced)
|
// if (isInterlaced)
|
||||||
{
|
// {
|
||||||
videoStream.IsInterlaced = true;
|
// videoStream.IsInterlaced = true;
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
|
|
||||||
return mediaInfo;
|
return mediaInfo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user