aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-23 12:43:33 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-23 12:43:33 +0000
commitd2974f16760aeff8d3ca220862ccb748ce16adf9 (patch)
treee716bf733b8ddf2f783e35cb9aad766e76ef95a5
parent19757f6169a43ddd11fa0c01c0762844858a6aea (diff)
downloadffmpeg-d2974f16760aeff8d3ca220862ccb748ce16adf9.tar.gz
chapter id and timebase
Originally committed as revision 13252 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/avformat.h2
1 files changed, 2 insertions, 0 deletions
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;