summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-06-03 15:22:41 +0200
committerPaul B Mahol <onemda@gmail.com>2021-08-05 15:42:48 +0200
commitc317862c883bdec40292f709add3ba30f606c6a3 (patch)
treee34d70bf2a04a420326a0944d85aa9a88aab9616 /libavfilter/avfilter.h
parent82123e133db6d556f3366a1cbb4f0439d70539d4 (diff)
downloadffmpeg-c317862c883bdec40292f709add3ba30f606c6a3.tar.gz
avfilter/avfilter: add sample_count_in and sample_count_out
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index b82f72d040..a71745283c 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -585,6 +585,11 @@ struct AVFilterLink {
int64_t frame_count_in, frame_count_out;
/**
+ * Number of past samples sent through the link.
+ */
+ int64_t sample_count_in, sample_count_out;
+
+ /**
* A pointer to a FFFramePool struct.
*/
void *frame_pool;