[FFmpeg-devel] [PATCH] Fix odd width or height from scaling filter expression

Jeroen Ost jeroen.ost at gmail.com
Tue Aug 21 11:47:30 CEST 2012


> it also would break intentional rescaling to a odd dimension, like
> scale=101:103
> Given that, i think such rounding if done, should be optional

Ok, well in that case, no patch is necessary for the scaling filter.
Same could be achieved by dividing by 2 and multiplying again.
But then the padding filter should be fixed; it is assuming even
dimensions. Are all other components (encoders, filters) happy with
odd resolutions ?

Jeroen


More information about the ffmpeg-devel mailing list