summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-09 00:27:45 +0100
committerwm4 <wm4@nowhere>2013-11-09 01:27:03 +0100
commit782c8e72ffbc81f23bfa734c0f681f15e0b9b2a5 (patch)
treed4dc0bc0bdd10611cb18f96ef16df9dac88b37b1 /video
parented89332acffee292a19456673c3d2a73c00836fb (diff)
downloadmpv-782c8e72ffbc81f23bfa734c0f681f15e0b9b2a5.tar.bz2
mpv-782c8e72ffbc81f23bfa734c0f681f15e0b9b2a5.tar.xz
vdpau: unbreak
Obviously I didn't test commit 1b8cd01, and it just crashed. Oops.
Diffstat (limited to 'video')
-rw-r--r--video/decode/vdpau.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c
index 74e5ae7063..02f71085d1 100644
--- a/video/decode/vdpau.c
+++ b/video/decode/vdpau.c
@@ -193,6 +193,7 @@ static int init(struct lavc_ctx *ctx)
};
ctx->hwdec_priv = p;
+ p->vdp = p->mpvdp->vdp;
p->context.render = p->vdp->decoder_render;
p->preemption_counter = p->mpvdp->preemption_counter;