update vsync

pull/1154/head
Luke Pulverenti 8 years ago
parent f2284af82a
commit 6a628e8d2e

@ -93,12 +93,14 @@ namespace MediaBrowser.Controller.MediaEncoding
{
get
{
// For live tv + recordings
if (string.Equals(InputContainer, "mpegts", StringComparison.OrdinalIgnoreCase) ||
string.Equals(InputContainer, "ts", StringComparison.OrdinalIgnoreCase))
// For live tv + in progress recordings
if (string.Equals(InputContainer, "mpegts", StringComparison.OrdinalIgnoreCase) || string.Equals(InputContainer, "ts", StringComparison.OrdinalIgnoreCase))
{
if (!MediaSource.RunTimeTicks.HasValue)
{
return "cfr";
}
}
return "-1";
}

Loading…
Cancel
Save