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/mp_image_pool.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'video/mp_image_pool.c') diff --git a/video/mp_image_pool.c b/video/mp_image_pool.c index e993b4e096..ff743b4da7 100644 --- a/video/mp_image_pool.c +++ b/video/mp_image_pool.c @@ -254,8 +254,7 @@ void mp_image_pool_set_lru(struct mp_image_pool *pool) // Copies the contents of the HW surface img to system memory and retuns it. // If swpool is not NULL, it's used to allocate the target image. -// img must be a hw surface with a AVHWFramesContext attached. If not, you -// must use the legacy mp_hwdec_ctx.download_image. +// img must be a hw surface with a AVHWFramesContext attached. // The returned image is cropped as needed. // Returns NULL on failure. struct mp_image *mp_image_hw_download(struct mp_image *src, -- cgit v1.2.3