From 58d3469fd6e983887a64afc51e0611504b749b3e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 4 Nov 2012 16:24:18 +0100 Subject: video/out: replace VOCTRL_QUERY_FORMAT with vo_driver.query_format --- video/out/vo_x11.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'video/out/vo_x11.c') diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c index f787017e90..d65326616c 100644 --- a/video/out/vo_x11.c +++ b/video/out/vo_x11.c @@ -598,8 +598,6 @@ static int control(struct vo *vo, uint32_t request, void *data) return p->int_pause = 1; case VOCTRL_RESUME: return p->int_pause = 0; - case VOCTRL_QUERY_FORMAT: - return query_format(vo, *((uint32_t *) data)); case VOCTRL_FULLSCREEN: vo_x11_fullscreen(vo); vo_x11_clearwindow(vo, vo->x11->window); @@ -649,6 +647,7 @@ const struct vo_driver video_out_x11 = { #endif }, .preinit = preinit, + .query_format = query_format, .config = config, .control = control, .draw_image = draw_image, -- cgit v1.2.3