mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Clean up deprecated -vsync option (#12765)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user