Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-10-07 15:39:00 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2016-10-07 15:39:00 +0300
commit82c4d57553d474505ae2df26503598b4e0303a80 (patch)
treece0873e08f2711ffb69f139b2a0b702241b68ee7 /ffmpeg.h
parentadfcf16f76de675f1dd313bc64ec52f2e143732b (diff)
parent1c169782cae6c5c430ff62e7d7272dc9d0e8d527 (diff)
Merge commit '1c169782cae6c5c430ff62e7d7272dc9d0e8d527'
* commit '1c169782cae6c5c430ff62e7d7272dc9d0e8d527': avconv: explicitly postpone writing the header until all streams are initialized Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index 9b3dc2ee6a..dfab101396 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -471,6 +471,12 @@ typedef struct OutputStream {
OSTFinished finished; /* no more packets should be written for this stream */
int unavailable; /* true if the steram is unavailable (possibly temporarily) */
int stream_copy;
+
+ // init_output_stream() has been called for this stream
+ // The encoder and the bistream filters have been initialized and the stream
+ // parameters are set in the AVStream.
+ int initialized;
+
const char *attachment_filename;
int copy_initial_nonkeyframes;
int copy_prior_start;
@@ -509,6 +515,8 @@ typedef struct OutputFile {
uint64_t limit_filesize; /* filesize limit expressed in bytes */
int shortest;
+
+ int header_written;
} OutputFile;
extern InputStream **input_streams;