summaryrefslogtreecommitdiffstats
path: root/player/screenshot.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-12 12:51:55 +0100
committerwm4 <wm4@nowhere>2017-01-12 13:58:28 +0100
commit06b30cc81f86ce31ad35399ccfc432a316a09e0d (patch)
treecb008b92b49e1eed3e52ae9d26e7bd159ce0c9f1 /player/screenshot.c
parent162c2e2d00c46c989fdf116181a21f8701ad99be (diff)
downloadmpv-06b30cc81f86ce31ad35399ccfc432a316a09e0d.tar.bz2
mpv-06b30cc81f86ce31ad35399ccfc432a316a09e0d.tar.xz
vaapi: use libavutil functions for copying hw surfaces to memory
Makes va_surface_download() call mp_image_hw_download() for libavutil-allocated surfaces, which in turn calls av_hwframe_transfer_data(). mp_image_hw_download() is actually not specific to vaapi, and can be used for any hw surface allocated by libavutil.
Diffstat (limited to 'player/screenshot.c')
0 files changed, 0 insertions, 0 deletions