From 81c623fae059792ec9c0ce47ad69128a58ab5980 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 7 Jan 2011 23:07:31 +0000 Subject: [PATCH] Deprecate reordered_opaque in favor of pkt_pts/dts Originally committed as revision 26262 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/APIchanges | 3 +++ libavcodec/avcodec.h | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index d345974237..ff8c347027 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,9 @@ libavutil: 2009-03-08 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 Add pkt_dts to AVFrame, this will in the future allow multithreading decoders to not mess up dts. diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index be28714cd5..2355a6eb81 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -32,7 +32,7 @@ #include "libavutil/cpu.h" #define LIBAVCODEC_VERSION_MAJOR 52 -#define LIBAVCODEC_VERSION_MINOR 106 +#define LIBAVCODEC_VERSION_MINOR 107 #define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ @@ -998,6 +998,7 @@ typedef struct AVPanScan{ * that time,\ * 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 \ + * @deprecated in favor of pkt_pts\ * - encoding: unused\ * - decoding: Read by user.\ */\ @@ -2585,6 +2586,7 @@ typedef struct AVCodecContext { /** * opaque 64bit number (generally a PTS) that will be reordered and * output in AVFrame.reordered_opaque + * @deprecated in favor of pkt_pts * - encoding: unused * - decoding: Set by user. */