diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-03-31 19:17:57 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-04-03 17:33:27 +0200 |
commit | 79d8cfacf07863500d4fedec669c49e2552c3876 (patch) | |
tree | de362386cfaf64843de4de9308e695c2f53a9ccc /libavfilter/avfilter.h | |
parent | c208576cef0a97903bbeac4f580fa436605a5c3e (diff) | |
download | ffmpeg-79d8cfacf07863500d4fedec669c49e2552c3876.tar.gz |
lavfi: loop on request_frame if necessary.
Some filters need several input frames before producing output.
For these filter, it becomes simpler to return 0 in
request_frame() and let the framework call it again until
output has been produced.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 455161fa34..7583dccfbe 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -682,6 +682,17 @@ struct AVFilterLink { * Number of channels. */ int channels; + + /** + * True if a frame is being requested on the link. + * Used internally by the framework. + */ + unsigned frame_requested; + + /** + * Link processing flags. + */ + unsigned flags; }; /** |