|
|
|
@ -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";
|
|
|
|
|
}
|
|
|
|
|