[FFmpeg-devel] [PATCH 1/4] lavfi: add flush callback.

Michael Niedermayer michaelni at gmx.at
Fri Jun 29 16:20:18 CEST 2012


On Fri, Jun 29, 2012 at 02:41:06PM +0200, Nicolas George wrote:
> For sinks, the pull-based flushing can not work,
> because sinks have no unified request_frame.

a filters request_frame() gets called be the next filter.
in case the next filter is a sink that sink can call a static
flush function

ret = request_frame()
if(ret == EOF)
    flush()

This should be alot simpler and require no API changes

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120629/c265bee0/attachment.asc>


More information about the ffmpeg-devel mailing list