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, 2 insertions, 2 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c
index b323c34865..4bdb209891 100644
--- a/video/out/vo_x11.c
+++ b/video/out/vo_x11.c
@@ -526,8 +526,8 @@ static int query_format(struct vo *vo, uint32_t format)
"vo_x11: query_format was called: %x (%s)\n", format,
vo_format_name(format));
if (IMGFMT_IS_BGR(format)) {
- if (IMGFMT_BGR_DEPTH(format) <= 8)
- return 0; // TODO 8bpp not yet fully implemented
+ if (IMGFMT_BGR_DEPTH(format) < 8)
+ return 0;
if (IMGFMT_BGR_DEPTH(format) == vo->x11->depthonscreen)
return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW |
VFCAP_OSD | VFCAP_FLIP;