summaryrefslogtreecommitdiffstats
path: root/libvo/vo_yuv4mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_yuv4mpeg.c')
-rw-r--r--libvo/vo_yuv4mpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_yuv4mpeg.c b/libvo/vo_yuv4mpeg.c
index a934d5c17a..33ba91783b 100644
--- a/libvo/vo_yuv4mpeg.c
+++ b/libvo/vo_yuv4mpeg.c
@@ -183,9 +183,10 @@ static uint32_t query_format(uint32_t format)
{
switch(format){
case IMGFMT_YV12:
+ return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_OSD;
case IMGFMT_BGR|24:
case IMGFMT_RGB|24:
- return 1;
+ return VFCAP_CSP_SUPPORTED;
}
return 0;
}