[FFmpeg-devel] [Patch] Scale filter should use multiples of 2

Michael Niedermayer michaelni
Thu Jul 1 12:51:05 CEST 2010

On Thu, Jul 01, 2010 at 01:40:55AM +0200, Stefano Sabatini wrote:
> scale=OUT_W:mod(OUT_W/a, 2)

x%2 will not produce what you expect

you want something like:
OUT_W:round(OUT_H, 2)


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100701/5f274048/attachment.pgp>

More information about the ffmpeg-devel mailing list