summaryrefslogtreecommitdiffstats
path: root/video/vdpau.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-16 18:19:19 +0200
committerwm4 <wm4@nowhere>2017-10-16 18:19:19 +0200
commitb299a3f54656095bd0f038360721d29356c7049d (patch)
tree986c363b416a04f360654af05725d1949287d16f /video/vdpau.c
parent2defa64d3bad1e1ebe3254e3e7968b9305042ab9 (diff)
downloadmpv-b299a3f54656095bd0f038360721d29356c7049d.tar.bz2
mpv-b299a3f54656095bd0f038360721d29356c7049d.tar.xz
vdpau: remove some more dead code
Diffstat (limited to 'video/vdpau.c')
-rw-r--r--video/vdpau.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/video/vdpau.c b/video/vdpau.c
index efed6d7f0c..4aa1a86597 100644
--- a/video/vdpau.c
+++ b/video/vdpau.c
@@ -370,7 +370,6 @@ struct mp_vdpau_ctx *mp_vdpau_create_device_x11(struct mp_log *log, Display *x11
.ctx = ctx,
.restore_device = recheck_preemption,
},
- .getimg_surface = VDP_INVALID_HANDLE,
};
mpthread_mutex_init_recursive(&ctx->preempt_lock);
pthread_mutex_init(&ctx->pool_lock, NULL);
@@ -409,13 +408,6 @@ void mp_vdpau_destroy(struct mp_vdpau_ctx *ctx)
}
}
- if (ctx->getimg_mixer)
- mp_vdpau_mixer_destroy(ctx->getimg_mixer);
- if (ctx->getimg_surface != VDP_INVALID_HANDLE) {
- vdp_st = vdp->output_surface_destroy(ctx->getimg_surface);
- CHECK_VDP_WARNING(ctx, "Error when calling vdp_output_surface_destroy");
- }
-
av_buffer_unref(&ctx->av_device_ref);
if (ctx->preemption_obj != VDP_INVALID_HANDLE) {