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