mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec: Undeprecate reordered_opaque
It allows attaching other external, opaque data to the frame and passing it through the reordering process, for cases when the caller wants other data than just the plain packet pts. There is no way to cleanly achieve this without the field.
This commit is contained in:
parent
a7e541c992
commit
ad1ee5fa75
|
@ -13,6 +13,9 @@ libavutil: 2013-12-xx
|
||||||
|
|
||||||
API changes, most recent first:
|
API changes, most recent first:
|
||||||
|
|
||||||
|
2014-08-xx - xxxxxxx - lavc 55.57.3 - avcodec.h
|
||||||
|
reordered_opaque is not going to be removed in the future.
|
||||||
|
|
||||||
2014-08-xx - xxxxxxx - lavu 53.22.0 - pixfmt.h
|
2014-08-xx - xxxxxxx - lavu 53.22.0 - pixfmt.h
|
||||||
Add AV_PIX_FMT_YA16 pixel format for 16 bit packed gray with alpha.
|
Add AV_PIX_FMT_YA16 pixel format for 16 bit packed gray with alpha.
|
||||||
|
|
||||||
|
|
|
@ -2413,7 +2413,6 @@ typedef struct AVCodecContext {
|
||||||
/**
|
/**
|
||||||
* opaque 64bit number (generally a PTS) that will be reordered and
|
* opaque 64bit number (generally a PTS) that will be reordered and
|
||||||
* output in AVFrame.reordered_opaque
|
* output in AVFrame.reordered_opaque
|
||||||
* @deprecated in favor of pkt_pts
|
|
||||||
* - encoding: unused
|
* - encoding: unused
|
||||||
* - decoding: Set by user.
|
* - decoding: Set by user.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
#define LIBAVCODEC_VERSION_MAJOR 55
|
#define LIBAVCODEC_VERSION_MAJOR 55
|
||||||
#define LIBAVCODEC_VERSION_MINOR 57
|
#define LIBAVCODEC_VERSION_MINOR 57
|
||||||
#define LIBAVCODEC_VERSION_MICRO 2
|
#define LIBAVCODEC_VERSION_MICRO 3
|
||||||
|
|
||||||
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
|
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
|
||||||
LIBAVCODEC_VERSION_MINOR, \
|
LIBAVCODEC_VERSION_MINOR, \
|
||||||
|
|
Loading…
Reference in New Issue