From 2507b5dd674834be7261772996f47ae3b95cca69 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 4 Oct 2015 12:19:26 +0200 Subject: mpegvideo_enc: export vbv_delay in side data Deprecate AVCodecContext.vbv_delay --- libavcodec/avcodec.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/avcodec.h') 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 /** -- cgit v1.2.3