From ddfccd67d5da2f6b19f0057c89e3c497d248e212 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 16 Oct 2017 17:07:35 +0200 Subject: video: remove special path for hwdec screenshots This was phased out, and was used only by vdpau by now. Drop the mechanism and the vdpau special code, which means screenshots won't include the vf_vdpaupp processing anymore. (I don't care enough about vdpau, it's on its way out.) --- video/hwdec.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'video/hwdec.h') diff --git a/video/hwdec.h b/video/hwdec.h index 4a6739ecde..a432ecce2c 100644 --- a/video/hwdec.h +++ b/video/hwdec.h @@ -56,16 +56,6 @@ struct mp_hwdec_ctx { // Hint to generic code: it's using a wrapper API bool emulated; - // Optional. Legacy. (New code should use AVHWFramesContext and - // mp_image_hw_download().) - // Allocates a software image from the pool, downloads the hw image from - // mpi, and returns it. - // pool can be NULL (then just use straight allocation). - // Return NULL on error or if mpi has the wrong format. - struct mp_image *(*download_image)(struct mp_hwdec_ctx *ctx, - struct mp_image *mpi, - struct mp_image_pool *swpool); - // Optional. Crap for vdpau. Makes sure preemption recovery is run if needed. void (*restore_device)(struct mp_hwdec_ctx *ctx); -- cgit v1.2.3