From 6811f963587915918875b21b93927784a8680dc9 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 11 Nov 2002 15:22:10 +0000 Subject: removed get_info, using the same sheme as in libmpcodecs instead git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_vo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libmpcodecs/vf_vo.c') diff --git a/libmpcodecs/vf_vo.c b/libmpcodecs/vf_vo.c index f6a92898b7..a8fcb2fe2b 100644 --- a/libmpcodecs/vf_vo.c +++ b/libmpcodecs/vf_vo.c @@ -26,8 +26,8 @@ static int config(struct vf_instance_s* vf, 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 @@ static int config(struct vf_instance_s* vf, if(video_out->config(width,height,d_width,d_height,flags,"MPlayer",outfmt)) return 0; + ++vo_config_count; return 1; } -- cgit v1.2.3