summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-11 15:22:10 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-11 15:22:10 +0000
commit6811f963587915918875b21b93927784a8680dc9 (patch)
treedc0d9fd36677fbf99fe15ebc73dc313eec47b610 /libmpcodecs
parent35dc94a7925de590af7e5db55e3b07becfbbe049 (diff)
downloadmpv-6811f963587915918875b21b93927784a8680dc9.tar.bz2
mpv-6811f963587915918875b21b93927784a8680dc9.tar.xz
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
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_vo.c5
1 files changed, 3 insertions, 2 deletions
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;
}