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

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Feb 18 23:42:27 CET 2007

Hi Michael!

On 2007-02-18 12:51, Michael Niedermayer wrote:
> > 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

Thanks for reviewing, new patch attached.

Carl Eugen

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patchaspect
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070218/b74f5599/attachment.asc>

More information about the MPlayer-dev-eng mailing list