[postprocessor:ugoira] restore 'libx264-prevent-odd' (#4407)

was accidentally removed in commit be9547a5
This commit is contained in:
Mike Fährmann
2023-08-10 18:29:45 +02:00
parent 391a7d74c8
commit 15275b3524

View File

@@ -120,6 +120,8 @@ class UgoiraPP(PostProcessor):
pathfmt.build_path()
args = self._process(pathfmt, tempdir)
if self.prevent_odd:
args += ("-vf", "crop=iw-mod(iw\\,2):ih-mod(ih\\,2)")
if self.args:
args += self.args