[MPlayer-dev-eng] [PATCH] aspect ratio is 0.000 by movie identification =corrected

Nico Sabbi nicola_sabbi at fastwebnet.it
Sun Oct 8 12:49:59 CEST 2006


jan cerny wrote:

>Hello list.
>When identificating movie with option -identify, mplayer returns
>ID_VIDEO_ASPECT=0.0000 .
>I edited file libmpdemux/video.c, then mplayer returns correct aspect
>ratio(eg ID_VIDEO_ASPECT=1.3333).
>
>jan cerny
>
>  
>
>------------------------------------------------------------------------
>
>--- libmpdemux/video.c	2006-06-11 20:35:46.000000000 +0200
>+++ libmpdemux/video.c.new	2006-10-06 21:50:55.000000000 +0200
>@@ -352,6 +352,7 @@
>     sh_video->fps,
>     sh_video->i_bps * 8 / 1000.0,
>     sh_video->i_bps / 1000.0 );
>+    sh_video->aspect=mpeg12_aspect_info(&picture);
>   break;
>  }
> } // switch(file_format)
>
>  
>

rejected. I removed that code from video.c months ago because that 
assignment belongs
to decoders, not demuxers.
See the patch I posted yesterday



More information about the MPlayer-dev-eng mailing list