summaryrefslogtreecommitdiff
path: root/libavutil/version.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-07-11 10:04:17 +0200
committerAnton Khirnov <anton@khirnov.net>2022-07-19 12:27:17 +0200
commit4397f9a5a09d82846bf787295c60f1104cf7de9e (patch)
treeafb4c8b8e6a9ad0d872e71b0edaba3ab576d08a8 /libavutil/version.h
parent0a6bb7da55709d82b1cbb12d420db2d1fbb867d7 (diff)
lavu/frame: add a duration field to AVFrame
The only duration field currently present in AVFrame is pkt_duration, which is semantically restricted to those frames that are output by decoders. Add a new field that stores the frame's duration without regard for how that frame was produced. Deprecate pkt_duration.
Diffstat (limited to 'libavutil/version.h')
-rw-r--r--libavutil/version.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/version.h b/libavutil/version.h
index f185322550..ee4c531b80 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -79,7 +79,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 57
-#define LIBAVUTIL_VERSION_MINOR 29
+#define LIBAVUTIL_VERSION_MINOR 30
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
@@ -114,6 +114,7 @@
#define FF_API_XVMC (LIBAVUTIL_VERSION_MAJOR < 58)
#define FF_API_OLD_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_MAJOR < 58)
#define FF_API_AV_FOPEN_UTF8 (LIBAVUTIL_VERSION_MAJOR < 58)
+#define FF_API_PKT_DURATION (LIBAVUTIL_VERSION_MAJOR < 58)
/**
* @}