summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-19 20:57:43 +0200
committerwm4 <wm4@nowhere>2013-10-19 20:57:43 +0200
commitd7287d60dd726c628dcecbb578d10d17f4e45cc2 (patch)
tree07e9cd90ab62f46b45582032ec79e937601bd0c1 /video
parentbea36dc33f48ed1a56ac590fbeb16561173e33f9 (diff)
downloadmpv-d7287d60dd726c628dcecbb578d10d17f4e45cc2.tar.bz2
mpv-d7287d60dd726c628dcecbb578d10d17f4e45cc2.tar.xz
vdpau_old: restore hardware decoding with old API
--hwdec=vdpau did nothing with older ffmpeg/libav versions. Oops.
Diffstat (limited to 'video')
-rw-r--r--video/decode/vdpau_old.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/vdpau_old.c b/video/decode/vdpau_old.c
index 707adef49c..e3bddf013c 100644
--- a/video/decode/vdpau_old.c
+++ b/video/decode/vdpau_old.c
@@ -257,6 +257,7 @@ static struct mp_image *process_image(struct lavc_ctx *ctx, struct mp_image *img
}
const struct vd_lavc_hwdec mp_vd_lavc_vdpau_old = {
+ .type = HWDEC_VDPAU,
.image_formats = (const int[]) {
IMGFMT_VDPAU_MPEG1, IMGFMT_VDPAU_MPEG2, IMGFMT_VDPAU_H264,
IMGFMT_VDPAU_WMV3, IMGFMT_VDPAU_VC1, IMGFMT_VDPAU_MPEG4,