summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-10-04 12:19:26 +0200
committerAnton Khirnov <anton@khirnov.net>2015-12-06 10:25:23 +0100
commit2507b5dd674834be7261772996f47ae3b95cca69 (patch)
tree4263cfa4c0fc59ef0386a301113514a435f0f482 /libavcodec/avcodec.h
parent3f5c99fcbb2c366d7bdef8500c19f43a33bdb6b9 (diff)
mpegvideo_enc: export vbv_delay in side data
Deprecate AVCodecContext.vbv_delay
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index dacbcd3733..64328c80ea 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2914,13 +2914,18 @@ typedef struct AVCodecContext {
int error_rate;
#endif
+#if FF_API_VBV_DELAY
/**
* VBV delay coded in the last frame (in periods of a 27 MHz clock).
* Used for compliant TS muxing.
* - encoding: Set by libavcodec.
* - decoding: unused.
+ * @deprecated this value is now exported as a part of
+ * AV_PKT_DATA_CPB_PROPERTIES packet side data
*/
+ attribute_deprecated
uint64_t vbv_delay;
+#endif
#if FF_API_SIDEDATA_ONLY_PKT
/**