vdpau_old: restore hardware decoding with old API

--hwdec=vdpau did nothing with older ffmpeg/libav versions. Oops.
This commit is contained in:
wm4 2013-10-19 20:57:43 +02:00
parent bea36dc33f
commit d7287d60dd
1 changed files with 1 additions and 0 deletions

View File

@ -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,