summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-15 22:43:06 +0200
committerwm4 <wm4@nowhere>2013-08-15 23:40:04 +0200
commit4246b5fbf06af067657f84d1e77bedb8faba8e87 (patch)
treee13ec79e7e408d68d6f3d2dab98253154e8ad66f /video
parenta82be4348e85b6fe585d5b76807a6e43a24628c3 (diff)
downloadmpv-4246b5fbf06af067657f84d1e77bedb8faba8e87.tar.bz2
mpv-4246b5fbf06af067657f84d1e77bedb8faba8e87.tar.xz
vdpau_old: add forgotten probe callback
Could make it crash if the VO didn't support vdpau decoding.
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 8490caedeb..707adef49c 100644
--- a/video/decode/vdpau_old.c
+++ b/video/decode/vdpau_old.c
@@ -273,6 +273,7 @@ const struct vd_lavc_hwdec mp_vd_lavc_vdpau_old = {
"mpeg4", "mpeg4_vdpau",
NULL
},
+ .probe = probe,
.init = init,
.uninit = uninit,
.allocate_image = allocate_image,