[MPlayer-dev-eng] [PATCH] aspect ratio change in vd_ffmpeg.c

Michael Niedermayer michaelni at gmx.at
Sun Feb 18 13:51:54 CET 2007


On Sun, Feb 18, 2007 at 01:45:09PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> Nico showed me an old patch to allow aspect ratio changes in vd_ffmpeg.c
> yesterday on irc. I had to add rint() so the compare (aspect vs
> last_aspect) doesn't fail for every frame.
> Aspect ratio change is very important for watching dvb (but only
> supported for -vc mpeg12 atm), so please consider.
> Please review, Carl Eugen

i am against rint() this is ugly, rather store the AVRational 
avctx->sample_aspect_ratio in a AVRational last_aspect

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070218/bcbd1819/attachment.pgp>

More information about the MPlayer-dev-eng mailing list