Add PIX_FMT_VDPAU_H264.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 8 Jan 2009 19:54:43 +0000 (19:54 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 8 Jan 2009 19:54:43 +0000 (19:54 +0000)
Originally committed as revision 28281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c

index dabc7c4..cfa3580 100644 (file)
@@ -452,6 +452,8 @@ const char *sws_format_name(enum PixelFormat format)
             return "nv21";
         case PIX_FMT_YUV440P:
             return "yuv440p";
             return "nv21";
         case PIX_FMT_YUV440P:
             return "yuv440p";
+        case PIX_FMT_VDPAU_H264:
+            return "vdpau_h264";
         default:
             return "Unknown format";
     }
         default:
             return "Unknown format";
     }