From 398f015f077c6a2406deffd9e37ff34b9c7bb3bc Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 23 May 2016 10:48:26 +0200 Subject: avconv: buffer the packets written while the muxer is not initialized --- avconv.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'avconv.h') 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 { -- cgit v1.2.3