diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-10-07 14:39:00 +0200 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-10-07 14:39:00 +0200 |
commit | 82c4d57553d474505ae2df26503598b4e0303a80 (patch) | |
tree | ce0873e08f2711ffb69f139b2a0b702241b68ee7 /ffmpeg.h | |
parent | adfcf16f76de675f1dd313bc64ec52f2e143732b (diff) | |
parent | 1c169782cae6c5c430ff62e7d7272dc9d0e8d527 (diff) | |
download | ffmpeg-82c4d57553d474505ae2df26503598b4e0303a80.tar.gz |
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.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; |