update components

pull/702/head
Luke Pulverenti 9 years ago
parent 641b85ad7b
commit 487e6f52a9

@ -293,10 +293,10 @@ namespace MediaBrowser.MediaEncoding.Encoder
} }
var formats = (video.Container ?? string.Empty).Split(',').ToList(); var formats = (video.Container ?? string.Empty).Split(',').ToList();
var enableInterlacedDection = formats.Contains("vob", StringComparer.OrdinalIgnoreCase) && var enableInterlacedDection = formats.Contains("vob", StringComparer.OrdinalIgnoreCase) ||
formats.Contains("m2ts", StringComparer.OrdinalIgnoreCase) && formats.Contains("m2ts", StringComparer.OrdinalIgnoreCase) ||
formats.Contains("ts", StringComparer.OrdinalIgnoreCase) && formats.Contains("ts", StringComparer.OrdinalIgnoreCase) ||
formats.Contains("mpegts", StringComparer.OrdinalIgnoreCase) && formats.Contains("mpegts", StringComparer.OrdinalIgnoreCase) ||
formats.Contains("wtv", StringComparer.OrdinalIgnoreCase); formats.Contains("wtv", StringComparer.OrdinalIgnoreCase);
// If it's mpeg based, assume true // If it's mpeg based, assume true

Loading…
Cancel
Save