summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;