From 16cbc4a014f2f9e278d1e110a017ae3c09b05df5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 19 Oct 2013 20:57:43 +0200 Subject: 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(+) (limited to 'video/decode') 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, -- cgit v1.2.3