diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-05-23 18:15:13 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-05-23 18:15:13 +0000 |
commit | abd2256dbe1cd10cc8d58d3225acfd1bb207af2a (patch) | |
tree | 0e218dc6ef2e583e88f206d7fd2b2cfc2c81f970 /libavformat/avformat.h | |
parent | f6e76ba476939c4b92da5608d33aa5aebdcbeebc (diff) | |
download | ffmpeg-abd2256dbe1cd10cc8d58d3225acfd1bb207af2a.tar.gz |
Pass time_base as argument to new_chapter() as well.
This fixes the wrong timebase the matroska demuxer had after my previous commits.
Maybe we should reduce new_chapter() to just (AVFormatContext, int id) ?
Originally committed as revision 13266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index fd49442ed5..f8f35ac37d 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -776,13 +776,13 @@ AVProgram *av_new_program(AVFormatContext *s, int id); * * @param s media file handle * @param id unique id for this chapter - * @param start chapter start time in AV_TIME_BASE units - * @param end chapter end time in AV_TIME_BASE units + * @param start chapter start time in time_base units + * @param end chapter end time in time_base units * @param title chapter title * * @return AVChapter or NULL if error. */ -AVChapter *ff_new_chapter(AVFormatContext *s, int id, int64_t start, int64_t end, const char *title); +AVChapter *ff_new_chapter(AVFormatContext *s, int id, AVRational time_base, int64_t start, int64_t end, const char *title); /** * Set the pts for a given stream. |