From 8cbcb1c732a6abf07a3db688ff47fb6548b47c9e Mon Sep 17 00:00:00 2001 From: NVIDIA Corporation <> Date: Tue, 10 Nov 2009 19:11:13 +0000 Subject: [PATCH] Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capable hardware. Original patch by NVIDIA corporation. Originally committed as revision 29885 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 8a9521fc0e..ba41c12ad7 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -459,6 +459,8 @@ const char *sws_format_name(enum PixelFormat format) return "vdpau_wmv3"; case PIX_FMT_VDPAU_VC1: return "vdpau_vc1"; + case PIX_FMT_VDPAU_MPEG4: + return "vdpau_mpeg4"; case PIX_FMT_YUV420P16LE: return "yuv420p16le"; case PIX_FMT_YUV422P16LE: