changeset 29065:1ae39343cd81

VDPAU supports IMGFMT_I420 and IMGFMT_IYUV.
author cehoyos
date Sun, 29 Mar 2009 19:25:22 +0000
parents 67c256364220
children ab51a502ebb5
files libvo/vo_vdpau.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vdpau.c	Sun Mar 29 14:46:59 2009 +0000
+++ b/libvo/vo_vdpau.c	Sun Mar 29 19:25:22 2009 +0000
@@ -930,6 +930,8 @@
     int default_flags = VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW | VFCAP_HWSCALE_UP | VFCAP_HWSCALE_DOWN | VFCAP_OSD | VFCAP_EOSD | VFCAP_EOSD_UNSCALED;
     switch (format) {
         case IMGFMT_YV12:
+        case IMGFMT_I420:
+        case IMGFMT_IYUV:
             return default_flags | VOCAP_NOSLICES;
         case IMGFMT_VDPAU_MPEG1:
         case IMGFMT_VDPAU_MPEG2: