diff options
| author | Nyanmisaka <nst799610810@gmail.com> | 2024-10-03 14:18:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-03 08:18:40 -0600 |
| commit | b496f979f02c6b65a2a6f1887558d8cbd9d8d7b6 (patch) | |
| tree | dfc25d692d67eae872402f5866306d9f80fbad26 /src | |
| parent | 9604088e3cfd1828a5f621341035adbf1b5e73e7 (diff) | |
Clean up deprecated -vsync option (#12765)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Jellyfin.LiveTv/IO/EncodedRecorder.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs b/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs index ff00c8999..0c660637f 100644 --- a/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs +++ b/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs @@ -130,7 +130,7 @@ namespace Jellyfin.LiveTv.IO const int MaxBitrate = 25000000; videoArgs = string.Format( CultureInfo.InvariantCulture, - "-codec:v:0 libx264 -force_key_frames \"expr:gte(t,n_forced*5)\" {0} -pix_fmt yuv420p -preset superfast -crf 23 -b:v {1} -maxrate {1} -bufsize ({1}*2) -vsync -1 -profile:v high -level 41", + "-codec:v:0 libx264 -force_key_frames \"expr:gte(t,n_forced*5)\" {0} -pix_fmt yuv420p -preset superfast -crf 23 -b:v {1} -maxrate {1} -bufsize ({1}*2) -profile:v high -level 41", GetOutputSizeParam(), MaxBitrate); } @@ -157,7 +157,7 @@ namespace Jellyfin.LiveTv.IO flags.Add("+genpts"); } - var inputModifier = "-async 1 -vsync -1"; + var inputModifier = "-async 1"; if (flags.Count > 0) { |
