summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-06 00:21:15 +0200
committerwm4 <wm4@nowhere>2014-05-06 00:21:15 +0200
commit143cf79a960625e8f1b623020987c0b7aa81a0f2 (patch)
tree1296bac9e0680d3c858e3a8b1595c23417299b64 /video/out/vo.c
parenta8b267540ecca0fa7d136078c7b84e2c6cd87e06 (diff)
downloadmpv-143cf79a960625e8f1b623020987c0b7aa81a0f2.tar.bz2
mpv-143cf79a960625e8f1b623020987c0b7aa81a0f2.tar.xz
vo: get rid of config_count field
Doesn't really seem to be much of use. Get rid of the remaining uses of it. Concerning vo_opengl_old, it seems uninitGl() works fine even if called before initialization.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index a13922534e..c681fa71a0 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -339,7 +339,6 @@ int vo_reconfig(struct vo *vo, struct mp_image_params *params, int flags)
int ret = vo->driver->reconfig(vo, vo->params, flags);
vo->config_ok = ret >= 0;
- vo->config_count += vo->config_ok;
if (vo->config_ok) {
check_vo_caps(vo);
} else {