changeset 5172:0dab2d783817

don't call video->get_info if it's NULL
author arpi
date Mon, 18 Mar 2002 01:47:47 +0000
parents 7145d6aba6cd
children 4f86aad49530
files libmpcodecs/vd.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd.c	Mon Mar 18 01:47:14 2002 +0000
+++ b/libmpcodecs/vd.c	Mon Mar 18 01:47:47 2002 +0000
@@ -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,