diff libmpcodecs/vf_vo.c @ 8148:5b39e79af5fe

removed get_info, using the same sheme as in libmpcodecs instead
author alex
date Mon, 11 Nov 2002 15:22:10 +0000
parents 1f8961f2b34c
children ae2ce6ebc1fa
line wrap: on
line diff
--- a/libmpcodecs/vf_vo.c	Mon Nov 11 14:26:07 2002 +0000
+++ b/libmpcodecs/vf_vo.c	Mon Nov 11 15:22:10 2002 +0000
@@ -26,8 +26,8 @@
 	return 0;
     }
 
-  if(video_out->get_info)
-  { const vo_info_t *info = video_out->get_info();
+  if(video_out->info)
+  { const vo_info_t *info = video_out->info;
     mp_msg(MSGT_CPLAYER,MSGL_INFO,"VO: [%s] %dx%d => %dx%d %s %s%s%s%s\n",info->short_name,
          width, height,
          d_width, d_height,
@@ -47,6 +47,7 @@
 
     if(video_out->config(width,height,d_width,d_height,flags,"MPlayer",outfmt))
 	return 0;
+
     ++vo_config_count;
     return 1;
 }