[MPlayer-dev-eng] [PATCH] moving mpeg12 A/R code away from video.c

Nico Sabbi nicola_sabbi at fastwebnet.it
Tue May 9 20:54:09 CEST 2006


Hi,
since video.c is part of the demuxers IMO it's not the right place to 
assign aspect ratio,
instead vd_libmpeg2.c should take care of it (vd_ffmpeg.c already does 
it, although it
doesn't yes reinit the vo when A/R changes).

This has also the nice side-effect of
1) updating the window with the right resolution when the aspect changes 
and
2) working correctly with mpeg content in containers other than mpeg 
(e.g. avi).

If no one objects I'll commit this patch tomorrow.

    Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aspect7.diff
Type: text/x-patch
Size: 1497 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060509/6a0ab4f4/attachment.bin>


More information about the MPlayer-dev-eng mailing list