[Mplayer-cvslog] CVS: main/libmpcodecs vd_vfw.c,1.3,1.4

Arpi of Ize arpi at mplayer.dev.hu
Sun Mar 17 03:13:21 CET 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv576

Modified Files:
	vd_vfw.c 
Log Message:
fixed colorspace detection

Index: vd_vfw.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_vfw.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vd_vfw.c	16 Mar 2002 01:10:31 -0000	1.3
+++ vd_vfw.c	17 Mar 2002 02:13:18 -0000	1.4
@@ -52,9 +52,10 @@
 // init driver
 static int init(sh_video_t *sh){
     unsigned int out_fmt;
+    if(!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YUY2)) return 0;
     if(!init_vfw_video_codec(sh,(sh->codec->driver==VFM_VFWEX))) return 0;
     mp_msg(MSGT_DECVIDEO,MSGL_V,"INFO: Win32 video codec init OK!\n");
-    return mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YUY2);
+    return 1;
 }
 
 // uninit driver




More information about the MPlayer-cvslog mailing list