[Mplayer-cvslog] CVS: main/libmpcodecs vd.c,1.20,1.21

Arpi of Ize arpi at mplayer.dev.hu
Mon Mar 18 02:47:50 CET 2002


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

Modified Files:
	vd.c 
Log Message:
don't call video->get_info if it's NULL

Index: vd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- vd.c	17 Mar 2002 02:30:29 -0000	1.20
+++ vd.c	18 Mar 2002 01:47:47 -0000	1.21
@@ -187,6 +187,7 @@
     }
   }
 
+  if(video_out->get_info)
   { const vo_info_t *info = video_out->get_info();
     mp_msg(MSGT_CPLAYER,MSGL_INFO,"VO: [%s] %dx%d => %dx%d %s %s%s%s%s\n",info->short_name,
          sh->disp_w,sh->disp_h,




More information about the MPlayer-cvslog mailing list