[FFmpeg-cvslog] avcodec: Define side data type for fallback track
John Stebbins
git at videolan.org
Sun Nov 22 18:42:15 CET 2015
ffmpeg | branch: master | John Stebbins <stebbins at jetheaddev.com> | Fri Nov 6 07:29:18 2015 -0800| [79ae1e630b476889c251fc905687a3831b43ab5e] | committer: Anton Khirnov
avcodec: Define side data type for fallback track
This side data type is meant to be added to AVStream side data.
A fallback track indicates an alternate track to use when the
current track can not be decoded for some reason. e.g. no
decoder available for codec.
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=79ae1e630b476889c251fc905687a3831b43ab5e
---
doc/APIchanges | 4 ++++
libavcodec/avcodec.h | 8 ++++++++
libavcodec/version.h | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index 1ec6fbc..fbabb51 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -13,6 +13,10 @@ libavutil: 2015-08-28
API changes, most recent first:
+2015-11-xx - xxxxxxx - lavc 57.9.0 - avcodec.h
+ Add AV_PKT_DATA_FALLBACK_TRACK for making fallback associations between
+ streams.
+
2015-11-xx - xxxxxxx - lavf 57.1.0 - avformat.h
Add av_stream_new_side_data().
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index b274ecd..57dce36 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1129,6 +1129,14 @@ enum AVPacketSideDataType {
* and FF_LAMBDA_MAX (bad).
*/
AV_PKT_DATA_QUALITY_FACTOR,
+
+ /**
+ * This side data contains an integer value representing the stream index
+ * of a "fallback" track. A fallback track indicates an alternate
+ * track to use when the current track can not be decoded for some reason.
+ * e.g. no decoder available for codec.
+ */
+ AV_PKT_DATA_FALLBACK_TRACK,
};
typedef struct AVPacketSideData {
diff --git a/libavcodec/version.h b/libavcodec/version.h
index bd75525..5776670 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -29,7 +29,7 @@
#include "libavutil/version.h"
#define LIBAVCODEC_VERSION_MAJOR 57
-#define LIBAVCODEC_VERSION_MINOR 8
+#define LIBAVCODEC_VERSION_MINOR 9
#define LIBAVCODEC_VERSION_MICRO 0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
More information about the ffmpeg-cvslog
mailing list