chapter id and timebase
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 23 May 2008 12:43:33 +0000 (12:43 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 23 May 2008 12:43:33 +0000 (12:43 +0000)
Originally committed as revision 13252 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avformat.h

index 17f317e..f9f351a 100644 (file)
@@ -390,6 +390,8 @@ typedef struct AVProgram {
                                          (streams are added dynamically) */
 
 typedef struct AVChapter {
+    int id;                 ///< Unique id to identify the chapter
+    AVRational time_base;   ///< Timebase in which the start/end timestamps are specified
     int64_t start, end; /**< chapter start/end time in AV_TIME_BASE units */
     char *title; /**< chapter title */
 } AVChapter;