summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-10 19:11:13 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-10 19:11:13 +0000
commit2b93a48ac8e092a74001b406ed9a20b6025faee6 (patch)
tree731705f120eea604a9337654ef170e89c48c9506 /libswscale
parenta63e8dce213e797cbf4c955f28ed03b0fabda0b9 (diff)
downloadmpv-2b93a48ac8e092a74001b406ed9a20b6025faee6.tar.bz2
mpv-2b93a48ac8e092a74001b406ed9a20b6025faee6.tar.xz
Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capable
hardware. Original patch by NVIDIA corporation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29885 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c2
1 files changed, 2 insertions, 0 deletions
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: