diff options
author | wm4 <wm4@nowhere> | 2013-10-19 20:57:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-20 14:11:11 +0200 |
commit | 16cbc4a014f2f9e278d1e110a017ae3c09b05df5 (patch) | |
tree | a17330626f99786e741a85a8bb8f717a9ede2ae1 | |
parent | 2aff8b7523f55a022a65b5404481eb58cd38b74d (diff) | |
download | mpv-16cbc4a014f2f9e278d1e110a017ae3c09b05df5.tar.bz2 mpv-16cbc4a014f2f9e278d1e110a017ae3c09b05df5.tar.xz |
vdpau_old: restore hardware decoding with old API
--hwdec=vdpau did nothing with older ffmpeg/libav versions. Oops.
-rw-r--r-- | video/decode/vdpau_old.c | 1 |
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, |