summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index f23d44ba64..24a10a9d94 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -1109,7 +1109,7 @@ query_format(uint32_t format)
// ideally MPlayer should be fixed instead not to use Y800 when it has the choice
if (!use_yuv && (format == IMGFMT_Y8 || format == IMGFMT_Y800))
return 0;
- if (!use_ycbcr && (format == IMGFMT_UYVY || format == IMGFMT_YUY2))
+ if (!use_ycbcr && (format == IMGFMT_UYVY || format == IMGFMT_YVYU))
return 0;
if (many_fmts &&
glFindFormat(format, NULL, NULL, NULL, NULL))