mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-31 23:48:33 +00:00
Improve controls for deinterlace method; matches with jellyfin-web changes
This commit is contained in:
@@ -2005,7 +2005,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
var inputFramerate = videoStream?.RealFrameRate;
|
||||
|
||||
// If it is already 60fps then it will create an output framerate that is much too high for roku and others to handle
|
||||
if (string.Equals(options.DeinterlaceMethod, "bobandweave", StringComparison.OrdinalIgnoreCase) && (inputFramerate ?? 60) <= 30)
|
||||
if (string.Equals(options.DeinterlaceMethod, "yadif_bob", StringComparison.OrdinalIgnoreCase) && (inputFramerate ?? 60) <= 30)
|
||||
{
|
||||
filters.Add("yadif=1:-1:0");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user