diff options
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index fa3378fa7e..f5c704b594 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -454,9 +454,10 @@ query_format(uint32_t format) { switch(format){ case IMGFMT_YV12: + return VFCAP_CSP_SUPPORTED; case IMGFMT_RGB|24: case IMGFMT_BGR|24: - return 1; + return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW; } return 0; } |