comparison avformat.h @ 3323:4bf98e198eec libavformat

Add id to AVChapter, untested (where do i find matroska files with chapters?).
author michael
date Fri, 23 May 2008 13:02:27 +0000
parents 97f7b77a969b
children b228cfb5a4f5
comparison
equal deleted inserted replaced
3322:97f7b77a969b 3323:4bf98e198eec
758 * Add a new chapter. 758 * Add a new chapter.
759 * This function is NOT part of the public API 759 * This function is NOT part of the public API
760 * and should be ONLY used by demuxers. 760 * and should be ONLY used by demuxers.
761 * 761 *
762 * @param s media file handle 762 * @param s media file handle
763 * @param id unique id for this chapter
763 * @param start chapter start time in AV_TIME_BASE units 764 * @param start chapter start time in AV_TIME_BASE units
764 * @param end chapter end time in AV_TIME_BASE units 765 * @param end chapter end time in AV_TIME_BASE units
765 * @param title chapter title 766 * @param title chapter title
766 */ 767 */
767 int ff_new_chapter(AVFormatContext *s, int64_t start, int64_t end, const char *title); 768 int ff_new_chapter(AVFormatContext *s, int id, int64_t start, int64_t end, const char *title);
768 769
769 /** 770 /**
770 * Set the pts for a given stream. 771 * Set the pts for a given stream.
771 * 772 *
772 * @param s stream 773 * @param s stream