1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/video
wm4 6e0b730044 vf_screenshot: simplify
Instead of using a callback to "capture" the image next time the filter
function is called, do it the other way around: on every filter
invocation, create a reference to the image, and return it if a
screenshot is requested. This also fixes the 1-frame delay when taking
screenshots with the filter.

This also allows simplifying screenshot.c.
2013-01-13 20:04:10 +01:00
..
decode vd_lavc: make non-reference frames writeable 2013-01-13 20:04:10 +01:00
filter vf_screenshot: simplify 2013-01-13 20:04:10 +01:00
out video/out: replace VFCAP_TIMER with vo->untimed, fix vo_image and vo_lavc 2013-01-13 20:04:10 +01:00
csputils.c
csputils.h
fmt-conversion.c video: silence warnings for missing libavutils pixel formats 2012-12-14 21:34:56 +01:00
fmt-conversion.h
image_writer.c video: fix bogus uses of mp_image.w/width 2012-11-21 19:58:51 +01:00
image_writer.h
img_format.c video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
img_format.h video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
memcpy_pic.h memcpy_pic: kill useless/dangerous optimization 2012-11-25 23:40:07 +01:00
mp_image_pool.c mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image_pool.h mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image.c video: remove things related to old DR code 2013-01-13 20:04:10 +01:00
mp_image.h video: remove things related to old DR code 2013-01-13 20:04:10 +01:00
sws_utils.c sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
sws_utils.h sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
vfcap.h video/out: replace VFCAP_TIMER with vo->untimed, fix vo_image and vo_lavc 2013-01-13 20:04:10 +01:00