summaryrefslogtreecommitdiffstats
path: root/video/out/vo_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_x11.c')
-rw-r--r--video/out/vo_x11.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c
index 5a81648233..2ce28a4292 100644
--- a/video/out/vo_x11.c
+++ b/video/out/vo_x11.c
@@ -536,9 +536,7 @@ static int query_format(struct vo *vo, uint32_t format)
}
switch (format) {
- case IMGFMT_I420:
- case IMGFMT_IYUV:
- case IMGFMT_YV12:
+ case IMGFMT_420P:
return VFCAP_CSP_SUPPORTED | VFCAP_OSD;
}
return 0;