[SCM] libav/experimental: chapter id and timebase

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:21:04 UTC 2013


The following commit has been merged in the experimental branch:
commit d2974f16760aeff8d3ca220862ccb748ce16adf9
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri May 23 12:43:33 2008 +0000

    chapter id and timebase
    
    Originally committed as revision 13252 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 17f317e..f9f351a 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list