]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/avcodec.h
mpegvideo_enc: export vbv_delay in side data
[ffmpeg] / libavcodec / avcodec.h
index dacbcd37335b58d89ccf975b101919d2e78a577e..64328c80ea783114be151e9fbddebcd73fc8934d 100644 (file)
@@ -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
     /**