From d7287d60dd726c628dcecbb578d10d17f4e45cc2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 19 Oct 2013 20:57:43 +0200 Subject: [PATCH] vdpau_old: restore hardware decoding with old API --hwdec=vdpau did nothing with older ffmpeg/libav versions. Oops. --- video/decode/vdpau_old.c | 1 + 1 file changed, 1 insertion(+) 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,