# HG changeset patch # User michael # Date 1211546613 0 # Node ID d3d68f5f388f67bbd2a5fb22dbb5d69098a75832 # Parent 609eabc17cb2eacb75e7cb794c53e56747e11ccf chapter id and timebase diff -r 609eabc17cb2 -r d3d68f5f388f avformat.h --- 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;