diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-15 17:42:04 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-23 01:02:27 +0200 |
commit | b8a5c76131944b4cc17c6db609288d0000d56a43 (patch) | |
tree | 2aeabcf34ac5d3ada79c9ae6168dba392ab393dd /libavfilter/avfilter.h | |
parent | f4596e8bb6f74599b8258c87036c237c5da4b209 (diff) | |
download | ffmpeg-b8a5c76131944b4cc17c6db609288d0000d56a43.tar.gz |
lavfi: add frame counter into AVFilterLink and use it in filters.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 0b970d0486..047208c02b 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -718,6 +718,11 @@ struct AVFilterLink { * Link processing flags. */ unsigned flags; + + /** + * Number of past frames sent through the link. + */ + int64_t frame_count; }; /** |