aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-10-08 11:38:47 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2016-10-08 11:38:47 +0200
commit3e5e5bdfef07526aa5c6b15e0484bdc51289cad9 (patch)
treef5c3754aa42bf8ca8d541fb771ca7644c89da3ad /ffmpeg.h
parentc45ba265fcbb57fcacf82f66cb2a2643210308e1 (diff)
parent398f015f077c6a2406deffd9e37ff34b9c7bb3bc (diff)
downloadffmpeg-3e5e5bdfef07526aa5c6b15e0484bdc51289cad9.tar.gz
Merge commit '398f015f077c6a2406deffd9e37ff34b9c7bb3bc'
* commit '398f015f077c6a2406deffd9e37ff34b9c7bb3bc': avconv: buffer the packets written while the muxer is not initialized Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index 2a22f438fc..e1d4593b27 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -212,6 +212,8 @@ typedef struct OptionsContext {
int nb_pass;
SpecifierOpt *passlogfiles;
int nb_passlogfiles;
+ SpecifierOpt *max_muxing_queue_size;
+ int nb_max_muxing_queue_size;
SpecifierOpt *guess_layout_max;
int nb_guess_layout_max;
SpecifierOpt *apad;
@@ -499,6 +501,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;
+
/* packet picture type */
int pict_type;