diff options
Diffstat (limited to 'libvo/vo_jpeg.c')
-rw-r--r-- | libvo/vo_jpeg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libvo/vo_jpeg.c b/libvo/vo_jpeg.c index 0fcd5e03e3..78823b572a 100644 --- a/libvo/vo_jpeg.c +++ b/libvo/vo_jpeg.c @@ -208,10 +208,11 @@ static uint32_t query_format(uint32_t format) case IMGFMT_IYUV: case IMGFMT_I420: case IMGFMT_YV12: - case IMGFMT_RGB|24: case IMGFMT_BGR|24: case IMGFMT_BGR|32: - return 1; + return VFCAP_CSP_SUPPORTED; + case IMGFMT_RGB|24: + return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_OSD; } return 0; } |