aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-01-04 22:31:55 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-01-04 22:31:55 +0000
commitf526adaf19d6a4932625a7b7f3fc5084d339d98f (patch)
tree094c99f7d92d1d3a79464e93cf14dc7d6c36cf63
parentea29242cc75b44457ee635f7ca948e5548c0a1ce (diff)
downloadffmpeg-f526adaf19d6a4932625a7b7f3fc5084d339d98f.tar.gz
add metadata in AVStream, AVProgram and AVChapter
Originally committed as revision 16428 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/avformat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index b230c6589a..3619a8b949 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -480,6 +480,8 @@ typedef struct AVStream {
* - decoding: Set by libavformat.
*/
AVRational sample_aspect_ratio;
+
+ struct AVMetaData *meta_data;
} AVStream;
#define AV_PROGRAM_RUNNING 1
@@ -498,6 +500,7 @@ typedef struct AVProgram {
enum AVDiscard discard; ///< selects which program to discard and which to feed to the caller
unsigned int *stream_index;
unsigned int nb_stream_indexes;
+ struct AVMetaData *meta_data;
} AVProgram;
#define AVFMTCTX_NOHEADER 0x0001 /**< signal that no header is present
@@ -508,6 +511,7 @@ typedef struct AVChapter {
AVRational time_base; ///< time base in which the start/end timestamps are specified
int64_t start, end; ///< chapter start/end time in time_base units
char *title; ///< chapter title
+ struct AVMetaData *meta_data;
} AVChapter;
#define MAX_STREAMS 20