aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2015-11-22 17:41:27 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2015-11-22 17:41:27 +0000
commitfe20e34b139fde727d23c7f50c310e11567bcc5f (patch)
tree0bdca4ece274a425c0df95e1ed0b138a94dd8f96 /libavcodec/avcodec.h
parentad317c94c5fad00f97881263647e316344f0a81e (diff)
parent79ae1e630b476889c251fc905687a3831b43ab5e (diff)
downloadffmpeg-fe20e34b139fde727d23c7f50c310e11567bcc5f.tar.gz
Merge commit '79ae1e630b476889c251fc905687a3831b43ab5e'
* commit '79ae1e630b476889c251fc905687a3831b43ab5e': avcodec: Define side data type for fallback track Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 1af17ed569..448ba8ae25 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1285,6 +1285,14 @@ enum AVPacketSideDataType {
AV_PKT_DATA_QUALITY_STATS,
/**
+ * 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,
+
+ /**
* Recommmends skipping the specified number of samples
* @code
* u32le number of samples to skip from start of this packet