From d2974f16760aeff8d3ca220862ccb748ce16adf9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 23 May 2008 12:43:33 +0000 Subject: [PATCH] chapter id and timebase Originally committed as revision 13252 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 17f317e2d0..f9f351ae57 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -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;