summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2015-07-08 16:50:38 -0700
committerwm4 <wm4@nowhere>2015-07-11 10:44:34 +0200
commit4b0b9b515bee4a589ed74b4f5de86401f1745e69 (patch)
tree8a6f305325334562cedf4e93c077b2369c238f61 /wscript_build.py
parent8e82a64f5665dfeec2b0ae34b52f1870720f049e (diff)
downloadmpv-4b0b9b515bee4a589ed74b4f5de86401f1745e69.tar.bz2
mpv-4b0b9b515bee4a589ed74b4f5de86401f1745e69.tar.xz
vf_vdpaurb: Add a new filter for reading back vdpau decoded frames
Normally, vdpau decoded frames are passed directly to a suitable vo (vo_vdpau or vo_opengl) without ever touching system memory. This is efficient for output purposes, but prevents any of the regular filters from being used with such frames. This new filter implements a read-back step to pull the frames back into system memory where they can be acted on by other filters. Eventually the frames will be sent to the vo as if they were normal software-decoded frames. Note that a vdpau compatible vo must still be used to ensure that the decoder is properly initialised. Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index 18b2792e90..acf3882e3c 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -321,6 +321,7 @@ def build(ctx):
( "video/filter/vf_vapoursynth.c", "vapoursynth-core" ),
( "video/filter/vf_vavpp.c", "vaapi-vpp"),
( "video/filter/vf_vdpaupp.c", "vdpau" ),
+ ( "video/filter/vf_vdpaurb.c", "vdpau" ),
( "video/filter/vf_yadif.c", "libavfilter"),
( "video/out/aspect.c" ),
( "video/out/bitmap_packer.c" ),