diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-04-18 11:02:22 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-04-23 14:13:40 +0200 |
commit | 2ce797277926358d98593c3743d57eb037d44956 (patch) | |
tree | e29c142b6201530b8665de0f79ba7752a18d480a /libavfilter/avfilter.h | |
parent | e0761feec4dc9d10bd0fa58a0472b69277563e92 (diff) | |
download | ffmpeg-2ce797277926358d98593c3743d57eb037d44956.tar.gz |
avfiltergraph: add avfilter_graph_request_oldest().
Keep a heap of all sink links ordered by timestamps.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index b0b8cd098a..ae296cbef3 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -696,6 +696,23 @@ struct AVFilterLink { */ struct AVFilterGraph *graph; + /** + * Current timestamp of the link, as defined by the most recent + * frame(s), in AV_TIME_BASE units. + */ + int64_t current_pts; + + /** + * Private fields + * + * The following fields are for internal use only. + * Their type, offset, number and semantic can change without notice. + */ + + /** + * Index in the age array. + */ + int age_index; }; /** |