summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-10-20 16:43:02 +0200
committerwm4 <wm4@nowhere>2016-10-20 16:43:02 +0200
commit6b18d4dba527301d96b810d97f774dac03c6fb46 (patch)
treec585106da88d2000a7ac67a05ac39b151b8e7afd /video/hwdec.h
parentdd02369c3223fda5bcb2658b15404d43232bb38f (diff)
downloadmpv-6b18d4dba527301d96b810d97f774dac03c6fb46.tar.bz2
mpv-6b18d4dba527301d96b810d97f774dac03c6fb46.tar.xz
video: add --hwdec=vdpau-copy mode
At this point, all other hwaccels provide -copy modes, and vdpau is the exception with not having one. Although there is vf_vdpaurb, it's less convenient in certain situations, and exposes some issues with the filter chain code as well.
Diffstat (limited to 'video/hwdec.h')
-rw-r--r--video/hwdec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/hwdec.h b/video/hwdec.h
index 34b65fe15c..857d07c894 100644
--- a/video/hwdec.h
+++ b/video/hwdec.h
@@ -11,6 +11,7 @@ enum hwdec_type {
HWDEC_AUTO,
HWDEC_AUTO_COPY,
HWDEC_VDPAU,
+ HWDEC_VDPAU_COPY,
HWDEC_VIDEOTOOLBOX,
HWDEC_VIDEOTOOLBOX_COPY,
HWDEC_VAAPI,