[Mplayer-cvslog] CVS: main mencoder.c,1.28,1.29
    Michael Niedermayer 
    michael at mplayer.dev.hu
       
    Sat Dec  1 13:24:48 CET 2001
    
        - Previous message: [Mplayer-cvslog] CVS: main/DOCS/Hungarian codecs.html,1.26,1.27 documentation.html,1.66,1.67 formats.html,1.2,1.3 mplayer.1,1.13,1.14
- Next message: [Mplayer-cvslog] CVS: main configure,1.308,1.309
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
  
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv8804
Modified Files:
	mencoder.c 
Log Message:
bugfix if only -x or only -y is used
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- mencoder.c	1 Dec 2001 01:29:25 -0000	1.28
+++ mencoder.c	1 Dec 2001 12:24:46 -0000	1.29
@@ -379,10 +379,12 @@
 }
 sh_video->outfmtidx=i;
 
-if(out_fmt==IMGFMT_YV12 && vo_w!=0 && vo_h!=0)
+if(out_fmt==IMGFMT_YV12 && (vo_w!=0 || vo_h!=0))
 {
 	scale_srcW= sh_video->disp_w;
 	scale_srcH= sh_video->disp_h;
+	if(!vo_w) vo_w=sh_video->disp_w;
+	if(!vo_h) vo_h=sh_video->disp_h;
 }
 else
 {
    
    
        
	- Previous message: [Mplayer-cvslog] CVS: main/DOCS/Hungarian codecs.html,1.26,1.27 documentation.html,1.66,1.67 formats.html,1.2,1.3 mplayer.1,1.13,1.14
- Next message: [Mplayer-cvslog] CVS: main configure,1.308,1.309
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
More information about the MPlayer-cvslog
mailing list