summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorJohn Stebbins <stebbins@jetheaddev.com>2015-11-06 07:29:18 -0800
committerAnton Khirnov <anton@khirnov.net>2015-11-18 11:37:27 +0100
commit79ae1e630b476889c251fc905687a3831b43ab5e (patch)
tree73b1e3e53ccec3079069b3ecb358da1c52bff55b /libavcodec/avcodec.h
parent7f4ec4364bc4a73036660c1c6a3c4801db524e9e (diff)
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@khirnov.net>
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 b274ecdf64..57dce366ce 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 {