Add PIX_FMT_VDPAU_WMV3 and PIX_FMT_VDPAU_VC1.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Tue, 20 Jan 2009 09:31:07 +0000 (09:31 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Tue, 20 Jan 2009 09:31:07 +0000 (09:31 +0000)
Originally committed as revision 28344 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c

index 52b709a..a22bf64 100644 (file)
@@ -458,6 +458,10 @@ const char *sws_format_name(enum PixelFormat format)
             return "vdpau_mpeg1";
         case PIX_FMT_VDPAU_MPEG2:
             return "vdpau_mpeg2";
+        case PIX_FMT_VDPAU_WMV3:
+            return "vdpau_wmv3";
+        case PIX_FMT_VDPAU_VC1:
+            return "vdpau_vc1";
         default:
             return "Unknown format";
     }