summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-04 16:24:18 +0100
committerwm4 <wm4@nowhere>2013-01-13 17:39:31 +0100
commit58d3469fd6e983887a64afc51e0611504b749b3e (patch)
treed86f179247720d6b88be1e5522edcf7d530d7375 /video/out/vo.c
parent191bcbd1f2a0aa7ab64ed0e2768f29fedf2f4c30 (diff)
downloadmpv-58d3469fd6e983887a64afc51e0611504b749b3e.tar.bz2
mpv-58d3469fd6e983887a64afc51e0611504b749b3e.tar.xz
video/out: replace VOCTRL_QUERY_FORMAT with vo_driver.query_format
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index a1f3d915b1..629bba09a6 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -390,7 +390,7 @@ int vo_config(struct vo *vo, uint32_t width, uint32_t height,
vo->dheight = d_height;
}
- vo->default_caps = vo_control(vo, VOCTRL_QUERY_FORMAT, &format);
+ vo->default_caps = vo->driver->query_format(vo, format);
int ret = vo->driver->config(vo, width, height, d_width, d_height, flags,
format);