aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/filters.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-08-06 07:08:48 +0200
committerAnton Khirnov <anton@khirnov.net>2024-08-15 19:34:27 +0200
commitd6318a244d1dde48c1429c48b4076df47c2c7fe9 (patch)
tree576787d1b4381fd2faf48900ae3248dd2c91392f /libavfilter/filters.h
parent7f17e0e6dd0b28b29295c1eeb1a38546eebc3946 (diff)
downloadffmpeg-d6318a244d1dde48c1429c48b4076df47c2c7fe9.tar.gz
lavfi: move AVFilterLink.current_pts(_us) to FilterLink
Diffstat (limited to 'libavfilter/filters.h')
-rw-r--r--libavfilter/filters.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavfilter/filters.h b/libavfilter/filters.h
index 9e230dc987..98b2442389 100644
--- a/libavfilter/filters.h
+++ b/libavfilter/filters.h
@@ -43,6 +43,18 @@ typedef struct FilterLink {
AVFilterLink pub;
/**
+ * Current timestamp of the link, as defined by the most recent
+ * frame(s), in link time_base units.
+ */
+ int64_t current_pts;
+
+ /**
+ * Current timestamp of the link, as defined by the most recent
+ * frame(s), in AV_TIME_BASE units.
+ */
+ int64_t current_pts_us;
+
+ /**
* Minimum number of samples to filter at once.
*
* May be set by the link destination filter in its config_props().