aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nut.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-16 06:42:43 +0100
committerLuca Barbato <lu_zero@gentoo.org>2011-03-17 03:34:16 +0100
commit073f8b10d8d7638fcee33aba04ca2a7b90bdb2c3 (patch)
tree65e881f7883f5b78b6b33d94c20fa37ef598d2e0 /libavformat/nut.h
parent4af9c1a56f70418cb0256179f8200a8e37996035 (diff)
downloadffmpeg-073f8b10d8d7638fcee33aba04ca2a7b90bdb2c3.tar.gz
nutenc: mux chapters.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/nut.h')
-rw-r--r--libavformat/nut.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/nut.h b/libavformat/nut.h
index 7013fb126a..033bc0898e 100644
--- a/libavformat/nut.h
+++ b/libavformat/nut.h
@@ -82,6 +82,10 @@ typedef struct {
} StreamContext;
typedef struct {
+ AVRational *time_base;
+} ChapterContext;
+
+typedef struct {
AVFormatContext *avf;
// int written_packet_size;
// int64_t packet_start;
@@ -90,6 +94,7 @@ typedef struct {
const uint8_t *header[128];
uint64_t next_startcode; ///< stores the next startcode if it has already been parsed but the stream is not seekable
StreamContext *stream;
+ ChapterContext *chapter;
unsigned int max_distance;
unsigned int time_base_count;
int64_t last_syncpoint_pos;