From 16233bc5468110640797a10ad8538b93ab805298 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 19 Nov 2013 22:15:28 +0100 Subject: vdpau_old: enable OpenGL interop OpenGL interop was essentially disabled, because the decoder didn't request vdpau device creation from vo_opengl. --- 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 e3bddf013c..9a15609e14 100644 --- a/video/decode/vdpau_old.c +++ b/video/decode/vdpau_old.c @@ -242,6 +242,7 @@ static int init(struct lavc_ctx *ctx) static int probe(struct vd_lavc_hwdec *hwdec, struct mp_hwdec_info *info, const char *decoder) { + hwdec_request_api(info, "vdpau"); if (!info || !info->vdpau_ctx) return HWDEC_ERR_NO_CTX; return 0; -- cgit v1.2.3