summaryrefslogtreecommitdiffstats
path: root/video/filter
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter')
-rw-r--r--video/filter/vf_vo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_vo.c b/video/filter/vf_vo.c
index 3e1560ebdc..f1931126f3 100644
--- a/video/filter/vf_vo.c
+++ b/video/filter/vf_vo.c
@@ -113,7 +113,7 @@ static int control(struct vf_instance *vf, int request, void *data)
static int query_format(struct vf_instance *vf, unsigned int fmt)
{
- int flags = vo_control(video_out, VOCTRL_QUERY_FORMAT, &fmt);
+ int flags = video_out->driver->query_format(video_out, fmt);
// draw_slice() accepts stride, draw_frame() doesn't:
if (flags)
if (fmt == IMGFMT_YV12 || fmt == IMGFMT_I420 || fmt == IMGFMT_IYUV)