summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-19 22:15:28 +0100
committerwm4 <wm4@nowhere>2013-11-19 22:15:28 +0100
commit16233bc5468110640797a10ad8538b93ab805298 (patch)
tree7dba0d03d68a18c60ebee2ea94207cd9e4fe549a /video
parentb14a7da5d4a2c9db59aa41c36efa81e63c95d801 (diff)
downloadmpv-16233bc5468110640797a10ad8538b93ab805298.tar.bz2
mpv-16233bc5468110640797a10ad8538b93ab805298.tar.xz
vdpau_old: enable OpenGL interop
OpenGL interop was essentially disabled, because the decoder didn't request vdpau device creation from vo_opengl.
Diffstat (limited to 'video')
-rw-r--r--video/decode/vdpau_old.c1
1 files changed, 1 insertions, 0 deletions
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;