summaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-04-18 11:02:22 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-04-23 14:13:40 +0200
commit2ce797277926358d98593c3743d57eb037d44956 (patch)
treee29c142b6201530b8665de0f79ba7752a18d480a /libavfilter/avfilter.h
parente0761feec4dc9d10bd0fa58a0472b69277563e92 (diff)
downloadffmpeg-streaming-2ce797277926358d98593c3743d57eb037d44956.zip
ffmpeg-streaming-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.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index b0b8cd0..ae296cb 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;
};
/**
OpenPOWER on IntegriCloud