[MPlayer-dev-eng] [PATCH] restore A/R change code in vd_ffmpeg.c

Nico Sabbi nicola_sabbi at fastwebnet.it
Fri May 12 01:07:22 CEST 2006


Hi,
this patch assigns to sh->aspect the A/R set by lavc in order to resize 
the window when
the aspect ratio changes.

I noticed that something similar was already present in that file, but 
commented out long ago;
I tested this patch on some sample without problems, so I'd like to know 
if it's safe to
recommit it.

Another doubt regards the sane aspect range:
 //     if(ctx->last_aspect>=0.01 && ctx->last_aspect<100)

should this check be re-enabled, possibly extended to [0,100) ?

    Nico

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_aspect.diff
Type: text/x-patch
Size: 979 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060512/72eeecfb/attachment.bin>


More information about the MPlayer-dev-eng mailing list