Deprecate reordered_opaque in favor of pkt_pts/dts

Originally committed as revision 26262 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Michael Niedermayer 14 years ago
parent 1919feafb1
commit 81c623fae0
  1. 3
      doc/APIchanges
  2. 4
      libavcodec/avcodec.h

@ -13,6 +13,9 @@ libavutil: 2009-03-08
API changes, most recent first: API changes, most recent first:
2011-01-07 - r26262 - lavc 52.107.0 - deprecate reordered_opaque
Deprecate reordered_opaque in favor of pkt_pts/dts.
2011-01-07 - r26261 - lavc 52.106.0 - pkt_dts 2011-01-07 - r26261 - lavc 52.106.0 - pkt_dts
Add pkt_dts to AVFrame, this will in the future allow multithreading decoders Add pkt_dts to AVFrame, this will in the future allow multithreading decoders
to not mess up dts. to not mess up dts.

@ -32,7 +32,7 @@
#include "libavutil/cpu.h" #include "libavutil/cpu.h"
#define LIBAVCODEC_VERSION_MAJOR 52 #define LIBAVCODEC_VERSION_MAJOR 52
#define LIBAVCODEC_VERSION_MINOR 106 #define LIBAVCODEC_VERSION_MINOR 107
#define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_MICRO 0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
@ -998,6 +998,7 @@ typedef struct AVPanScan{
* that time,\ * that time,\
* the decoder reorders values as needed and sets AVFrame.reordered_opaque\ * the decoder reorders values as needed and sets AVFrame.reordered_opaque\
* to exactly one of the values provided by the user through AVCodecContext.reordered_opaque \ * to exactly one of the values provided by the user through AVCodecContext.reordered_opaque \
* @deprecated in favor of pkt_pts\
* - encoding: unused\ * - encoding: unused\
* - decoding: Read by user.\ * - decoding: Read by user.\
*/\ */\
@ -2585,6 +2586,7 @@ 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.
*/ */

Loading…
Cancel
Save