diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-23 10:48:26 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-25 11:15:54 +0200 |
commit | 398f015f077c6a2406deffd9e37ff34b9c7bb3bc (patch) | |
tree | 87e70d2671e9eee65fee61e1de79e634340b9fec /avconv.h | |
parent | 1c169782cae6c5c430ff62e7d7272dc9d0e8d527 (diff) | |
download | ffmpeg-398f015f077c6a2406deffd9e37ff34b9c7bb3bc.tar.gz |
avconv: buffer the packets written while the muxer is not initialized
Diffstat (limited to 'avconv.h')
-rw-r--r-- | avconv.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 { |