changeset 4153:74f56dba37d3 libavformat

add metadata in AVStream, AVProgram and AVChapter
author aurel
date Sun, 04 Jan 2009 22:31:55 +0000
parents 41ba5bf14f00
children bd4d3fee45d0
files avformat.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avformat.h	Sun Jan 04 20:47:09 2009 +0000
+++ b/avformat.h	Sun Jan 04 22:31:55 2009 +0000
@@ -480,6 +480,8 @@
      * - decoding: Set by libavformat.
      */
     AVRational sample_aspect_ratio;
+
+    struct AVMetaData *meta_data;
 } AVStream;
 
 #define AV_PROGRAM_RUNNING 1
@@ -498,6 +500,7 @@
     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 @@
     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