changeset 3320:d3d68f5f388f libavformat

chapter id and timebase
author michael
date Fri, 23 May 2008 12:43:33 +0000
parents 609eabc17cb2
children b847faf64408
files avformat.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avformat.h	Fri May 23 11:47:11 2008 +0000
+++ b/avformat.h	Fri May 23 12:43:33 2008 +0000
@@ -390,6 +390,8 @@
                                          (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;