diff options
author | wm4 <wm4@nowhere> | 2012-11-04 16:24:18 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 17:39:31 +0100 |
commit | 58d3469fd6e983887a64afc51e0611504b749b3e (patch) | |
tree | d86f179247720d6b88be1e5522edcf7d530d7375 /video/out/vo_corevideo.m | |
parent | 191bcbd1f2a0aa7ab64ed0e2768f29fedf2f4c30 (diff) | |
download | mpv-58d3469fd6e983887a64afc51e0611504b749b3e.tar.bz2 mpv-58d3469fd6e983887a64afc51e0611504b749b3e.tar.xz |
video/out: replace VOCTRL_QUERY_FORMAT with vo_driver.query_format
Diffstat (limited to 'video/out/vo_corevideo.m')
-rw-r--r-- | video/out/vo_corevideo.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_corevideo.m b/video/out/vo_corevideo.m index c5b5399adc..1ace48eb9b 100644 --- a/video/out/vo_corevideo.m +++ b/video/out/vo_corevideo.m @@ -385,8 +385,6 @@ static int control(struct vo *vo, uint32_t request, void *data) { struct priv *p = vo->priv; switch (request) { - case VOCTRL_QUERY_FORMAT: - return query_format(vo, *(uint32_t*)data); case VOCTRL_ONTOP: p->mpglctx->ontop(vo); return VO_TRUE; @@ -442,6 +440,7 @@ const struct vo_driver video_out_corevideo = { "" }, .preinit = preinit, + .query_format = query_format, .config = config, .control = control, .draw_image = draw_image, |