Commit 577326d4 authored by wm4's avatar wm4 Committed by Anton Khirnov

lavc: deprecate refcounted_frames field

No deprecation guards, because the old decode API (for which this field
is needed) doesn't have any either.

This field should be removed together with the old decode calls.
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 3ad82579
...@@ -13,6 +13,12 @@ libavutil: 2015-08-28 ...@@ -13,6 +13,12 @@ libavutil: 2015-08-28
API changes, most recent first: API changes, most recent first:
2017-02-01 - xxxxxxx - lavc - avcodec.h
Deprecate AVCodecContext.refcounted_frames. This was useful for deprecated
API only (avcodec_decode_video2/avcodec_decode_audio4). The new decode APIs
(avcodec_send_packet/avcodec_receive_frame) always work with reference
counted frames.
2016-xx-xx - xxxxxxx - lavc 57.31.0 - avcodec.h 2016-xx-xx - xxxxxxx - lavc 57.31.0 - avcodec.h
Add AVCodecContext.apply_cropping to control whether cropping Add AVCodecContext.apply_cropping to control whether cropping
is handled by libavcodec or the caller. is handled by libavcodec or the caller.
......
...@@ -2327,7 +2327,7 @@ typedef struct AVCodecContext { ...@@ -2327,7 +2327,7 @@ typedef struct AVCodecContext {
* - encoding: unused * - encoding: unused
* - decoding: set by the caller before avcodec_open2(). * - decoding: set by the caller before avcodec_open2().
*/ */
int refcounted_frames; attribute_deprecated int refcounted_frames;
/* - encoding parameters */ /* - encoding parameters */
float qcompress; ///< amount of qscale change between easy & hard scenes (0.0-1.0) float qcompress; ///< amount of qscale change between easy & hard scenes (0.0-1.0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment