[MPlayer-cvslog] r29104 - trunk/libvo/vo_vdpau.c

cehoyos subversion at mplayerhq.hu
Sun Mar 29 21:25:22 CEST 2009


Author: cehoyos
Date: Sun Mar 29 21:25:22 2009
New Revision: 29104

Log:
VDPAU supports IMGFMT_I420 and IMGFMT_IYUV.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Sun Mar 29 16:46:59 2009	(r29103)
+++ trunk/libvo/vo_vdpau.c	Sun Mar 29 21:25:22 2009	(r29104)
@@ -930,6 +930,8 @@ static int query_format(uint32_t format)
     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:


More information about the MPlayer-cvslog mailing list