summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-07 02:12:15 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-07 02:12:15 +0000
commit69a4881d048795bc58b3f3cb5eb5d5eec3b2d2b6 (patch)
tree225a5d56212bc723b24ef4882d2fe221237ef620 /libvo
parentb909e60fe9c6c7d21bbbdfcafb1b9db5ab53bc69 (diff)
downloadmpv-69a4881d048795bc58b3f3cb5eb5d5eec3b2d2b6.tar.bz2
mpv-69a4881d048795bc58b3f3cb5eb5d5eec3b2d2b6.tar.xz
vo_config_count now counts calls to vo->config()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5512 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/video_out.c2
-rw-r--r--libvo/video_out.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index a6696f465f..10eb084502 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -38,6 +38,8 @@ int vo_depthonscreen=0;
int vo_screenwidth=0;
int vo_screenheight=0;
+int vo_config_count=0;
+
// requested resolution/bpp: (-x -y -bpp options)
int vo_dx=0;
int vo_dy=0;
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 219716811b..5aee045e20 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -191,6 +191,8 @@ extern vo_functions_t* video_out_drivers[];
extern int vo_flags;
+extern int vo_config_count;
+
// correct resolution/bpp on screen: (should be autodetected by vo_init())
extern int vo_depthonscreen;
extern int vo_screenwidth;