summaryrefslogtreecommitdiffstats
path: root/video/mp_image_pool.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-16 17:07:35 +0200
committerwm4 <wm4@nowhere>2017-10-16 17:07:35 +0200
commitddfccd67d5da2f6b19f0057c89e3c497d248e212 (patch)
treea4d2351047e1bad35f586a4f87b27a66764fb40c /video/mp_image_pool.c
parent9e140775bcbf3fa37dce67790325788c41451e08 (diff)
downloadmpv-ddfccd67d5da2f6b19f0057c89e3c497d248e212.tar.bz2
mpv-ddfccd67d5da2f6b19f0057c89e3c497d248e212.tar.xz
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.)
Diffstat (limited to 'video/mp_image_pool.c')
-rw-r--r--video/mp_image_pool.c3
1 files changed, 1 insertions, 2 deletions
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,