mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
update vsync
This commit is contained in:
parent
f2284af82a
commit
6a628e8d2e
1 changed files with 6 additions and 4 deletions
|
@ -93,11 +93,13 @@ 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))
|
||||
{
|
||||
return "cfr";
|
||||
if (!MediaSource.RunTimeTicks.HasValue)
|
||||
{
|
||||
return "cfr";
|
||||
}
|
||||
}
|
||||
|
||||
return "-1";
|
||||
|
|
Loading…
Reference in a new issue