diff options
author | wm4 <wm4@nowhere> | 2016-10-20 16:43:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-20 16:43:02 +0200 |
commit | 6b18d4dba527301d96b810d97f774dac03c6fb46 (patch) | |
tree | c585106da88d2000a7ac67a05ac39b151b8e7afd /options | |
parent | dd02369c3223fda5bcb2658b15404d43232bb38f (diff) | |
download | mpv-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 'options')
-rw-r--r-- | options/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 3b071e3b47..f97ce5362b 100644 --- a/options/options.c +++ b/options/options.c @@ -93,6 +93,7 @@ const struct m_opt_choice_alternatives mp_hwdec_names[] = { {"yes" , HWDEC_AUTO}, {"auto-copy", HWDEC_AUTO_COPY}, {"vdpau", HWDEC_VDPAU}, + {"vdpau-copy", HWDEC_VDPAU_COPY}, {"videotoolbox",HWDEC_VIDEOTOOLBOX}, {"videotoolbox-copy",HWDEC_VIDEOTOOLBOX_COPY}, {"vaapi", HWDEC_VAAPI}, |