diff options
author | wm4 <wm4@nowhere> | 2012-11-04 18:39:32 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 20:04:10 +0100 |
commit | 6e0b7300447c4f8f82bc5467870a00d7c4f2095f (patch) | |
tree | 30d8751dd4ff414214f08d8fee3e62af56923a9d /audio/filter/af_dummy.c | |
parent | b7cacf9165290067b66b160b108790b89c080a3e (diff) | |
download | mpv-6e0b7300447c4f8f82bc5467870a00d7c4f2095f.tar.bz2 mpv-6e0b7300447c4f8f82bc5467870a00d7c4f2095f.tar.xz |
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.
Diffstat (limited to 'audio/filter/af_dummy.c')
0 files changed, 0 insertions, 0 deletions