[][src]Function ffmpeg_dev::sys::avpriv_new_chapter

pub unsafe extern "C" fn avpriv_new_chapter(
    s: *mut AVFormatContext,
    id: c_int,
    time_base: AVRational,
    start: i64,
    end: i64,
    title: *const c_char
) -> *mut AVChapter

Add a new chapter.

@param s media file handle @param id unique ID for this chapter @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 on error