aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/filters.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-08-06 08:50:21 +0200
committerAnton Khirnov <anton@khirnov.net>2024-08-15 19:34:27 +0200
commit42cbf66fffed5a8bba2f14b5247ce60d788b9e01 (patch)
tree4b744e56f719ffc0455331703e844bf1299b8db9 /libavfilter/filters.h
parenta23d565ea7d41e61f160578f9714a23e695f3bfd (diff)
downloadffmpeg-42cbf66fffed5a8bba2f14b5247ce60d788b9e01.tar.gz
lavfi: move AVFilterLink.{frame,sample}_count_{in,out} to FilterLink
Diffstat (limited to 'libavfilter/filters.h')
-rw-r--r--libavfilter/filters.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavfilter/filters.h b/libavfilter/filters.h
index fc65f1df20..3f591e6f9d 100644
--- a/libavfilter/filters.h
+++ b/libavfilter/filters.h
@@ -71,6 +71,16 @@ typedef struct FilterLink {
int max_samples;
/**
+ * Number of past frames sent through the link.
+ */
+ int64_t frame_count_in, frame_count_out;
+
+ /**
+ * Number of past samples sent through the link.
+ */
+ int64_t sample_count_in, sample_count_out;
+
+ /**
* Frame rate of the stream on the link, or 1/0 if unknown or variable.
*
* May be set by the link source filter in its config_props(); if left to