Signed-off-by: Paul B Mahol <[email protected]>
---
To be used by latency filters.
---
libavfilter/avfilter.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 49b4f7a939..8ebcb3eacc 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -582,6 +582,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.
*/
--
2.17.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".