[MPlayer-dev-eng] [PATCH] : allways print movie aspect ration.

j.a.l j.a.l at free.fr
Mon Nov 4 00:30:54 CET 2002


from j.a.l at free.fr

what the purpose of this mail ??? : when using -x / -y switch, mplayer 
doesn't print the video aspect ration.
If not really important for user ( and you ), is it for front-end ( i 
know, you do not care... ) : this message is used for calculing the 
displayed video size, aspect ration, whether or not window must be 
resized to fit what user want.... so don't use -x / -y switch !!! , 
well, no. it's really important to set mplayer using the full area of 
window, otherwise, without resize signal, mplayer play x1, adding blank 
arround ( bad ). send a resize signal !!! no again, no signal if window 
size do not change ( or with dirty hack ).

I've look the all afternoon for a solution and just adding two lines 
into vd.c make the better/cleaner work. :

   if(sh->aspect>0.01){
       mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MovieAspectIsSet,sh->aspect);
     } else {
       mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MovieAspectUndefined);
   }

tried it and produce a nice work.


Commit whether you like, otherwise, there're no offence for me...
A+
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: allways_print_aspect.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021103/2d09615a/attachment.asc>


More information about the MPlayer-dev-eng mailing list