summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-23 10:48:26 +0200
committerAnton Khirnov <anton@khirnov.net>2016-06-25 11:15:54 +0200
commit398f015f077c6a2406deffd9e37ff34b9c7bb3bc (patch)
tree87e70d2671e9eee65fee61e1de79e634340b9fec /avconv.h
parent1c169782cae6c5c430ff62e7d7272dc9d0e8d527 (diff)
downloadffmpeg-398f015f077c6a2406deffd9e37ff34b9c7bb3bc.tar.gz
avconv: buffer the packets written while the muxer is not initialized
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/avconv.h b/avconv.h
index bc3b6c3948..60729c3491 100644
--- a/avconv.h
+++ b/avconv.h
@@ -190,6 +190,8 @@ typedef struct OptionsContext {
int nb_pass;
SpecifierOpt *passlogfiles;
int nb_passlogfiles;
+ SpecifierOpt *max_muxing_queue_size;
+ int nb_max_muxing_queue_size;
} OptionsContext;
typedef struct InputFilter {
@@ -391,6 +393,11 @@ typedef struct OutputStream {
/* packet quality factor */
int quality;
+
+ int max_muxing_queue_size;
+
+ /* the packets are buffered here until the muxer is ready to be initialized */
+ AVFifoBuffer *muxing_queue;
} OutputStream;
typedef struct OutputFile {