diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-23 09:19:25 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-25 11:12:53 +0200 |
commit | 1c169782cae6c5c430ff62e7d7272dc9d0e8d527 (patch) | |
tree | 66b57b8d8b17ae46e5baa301492ada54c555b985 /avconv.h | |
parent | 5b63b15663d31f50ce45d980b904a68795ad3f7a (diff) | |
download | ffmpeg-1c169782cae6c5c430ff62e7d7272dc9d0e8d527.tar.gz |
avconv: explicitly postpone writing the header until all streams are initialized
This should have no practical effect for now, but will make a difference
in the following commits.
Diffstat (limited to 'avconv.h')
-rw-r--r-- | avconv.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -366,6 +366,12 @@ typedef struct OutputStream { AVDictionary *resample_opts; int finished; /* no more packets should be written for this stream */ 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; @@ -396,6 +402,8 @@ typedef struct OutputFile { uint64_t limit_filesize; int shortest; + + int header_written; } OutputFile; extern InputStream **input_streams; |