1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 12:42:29 +01:00

[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
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

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