Deprecated in 2507b5dd674834be7261772996f47ae3b95cca69.
Unified · Split
| @@ -1854,19 +1854,6 @@ typedef struct AVCodecContext { · 1853 unmodified lines | |||
| 1854 | uint8_t *subtitle_header; | 1854 | uint8_t *subtitle_header; |
| 1855 | int subtitle_header_size; | 1855 | int subtitle_header_size; |
| 1856 | 1856 | ||
| 1857 | #if FF_API_VBV_DELAY | ||
| 1858 | /** | ||
| 1859 | * VBV delay coded in the last frame (in periods of a 27 MHz clock). | ||
| 1860 | * Used for compliant TS muxing. | ||
| 1861 | * - encoding: Set by libavcodec. | ||
| 1862 | * - decoding: unused. | ||
| 1863 | * @deprecated this value is now exported as a part of | ||
| 1864 | * AV_PKT_DATA_CPB_PROPERTIES packet side data | ||
| 1865 | */ | ||
| 1866 | attribute_deprecated | ||
| 1867 | uint64_t vbv_delay; | ||
| 1868 | #endif | ||
| 1869 | |||
| 1870 | /** | 1857 | /** |
| 1871 | * Audio only. The number of "priming" samples (padding) inserted by the | 1858 | * Audio only. The number of "priming" samples (padding) inserted by the |
| 1872 | * encoder at the beginning of the audio. I.e. this number of leading | 1859 | * encoder at the beginning of the audio. I.e. this number of leading |
| @@ -1913,12 +1913,6 @@ vbv_retry: · 1912 unmodified lines | |||
| 1913 | av_freep(&props); | 1913 | av_freep(&props); |
| 1914 | return ret; | 1914 | return ret; |
| 1915 | } | 1915 | } |
| 1916 | |||
| 1917 | #if FF_API_VBV_DELAY | ||
| 1918 | FF_DISABLE_DEPRECATION_WARNINGS | ||
| 1919 | avctx->vbv_delay = vbv_delay * 300; | ||
| 1920 | FF_ENABLE_DEPRECATION_WARNINGS | ||
| 1921 | #endif | ||
| 1922 | } | 1916 | } |
| 1923 | s->total_bits += s->frame_bits; | 1917 | s->total_bits += s->frame_bits; |
| 1924 | 1918 | ||
| @@ -54,9 +54,6 @@ · 53 unmodified lines | |||
| 54 | #ifndef FF_API_CODED_FRAME | 54 | #ifndef FF_API_CODED_FRAME |
| 55 | #define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 59) | 55 | #define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 59) |
| 56 | #endif | 56 | #endif |
| 57 | #ifndef FF_API_VBV_DELAY | ||
| 58 | #define FF_API_VBV_DELAY (LIBAVCODEC_VERSION_MAJOR < 59) | ||
| 59 | #endif | ||
| 60 | #ifndef FF_API_NVENC_OLD_NAME | 57 | #ifndef FF_API_NVENC_OLD_NAME |
| 61 | #define FF_API_NVENC_OLD_NAME (LIBAVCODEC_VERSION_MAJOR < 59) | 58 | #define FF_API_NVENC_OLD_NAME (LIBAVCODEC_VERSION_MAJOR < 59) |
| 62 | #endif | 59 | #endif |