summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-28 21:56:13 +0200
committerwm4 <wm4@nowhere>2015-05-28 21:56:13 +0200
commit6f5a10542c276ad4fa87a2f449dc4173e10fc47d (patch)
treef27fd184990556233bdfb19fb9de21ddc2063219 /wscript_build.py
parent0699a6c598bc1c8968f426be37b62052f7cb1eb9 (diff)
downloadmpv-6f5a10542c276ad4fa87a2f449dc4173e10fc47d.tar.bz2
mpv-6f5a10542c276ad4fa87a2f449dc4173e10fc47d.tar.xz
vdpau: add support for the "new" libavcodec vdpau API
Yet another of these dozens of hwaccel changes. This time, libavcodec provides utility functions, which initialize the vdpau decoder and map codec profiles. So a lot of work the API user had to do falls away. This also will give us support for high bit depth profiles, and possibly HEVC once libavcodec supports it.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py
index aa33272718..26d622a9d9 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -296,7 +296,8 @@ def build(ctx):
( "video/decode/vaapi.c", "vaapi-hwaccel" ),
( "video/decode/vd_lavc.c" ),
( "video/decode/vda.c", "vda-hwaccel" ),
- ( "video/decode/vdpau_old.c", "vdpau-hwaccel" ),
+ ( "video/decode/vdpau.c", "vdpau-hwaccel" ),
+ ( "video/decode/vdpau_old.c", "vdpau-old-hwaccel" ),
( "video/filter/vf.c" ),
( "video/filter/vf_buffer.c" ),
( "video/filter/vf_crop.c" ),