diff options
author | Tobias Rapp <t.rapp@noa-archive.com> | 2017-01-18 12:27:01 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-01-19 03:54:49 +0300 |
commit | c324e2c5db26cb1ac936b192dc1ac86f7b6db45c (patch) | |
tree | 59067454a764f762c04a078f9f78cfa1d46b73e4 /libavformat/avformat.h | |
parent | 6c43f33ac2e7606b2013f6261144389589394196 (diff) |
ffmpeg: pass output stream duration as a hint to the muxer
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index af257e43c4..ebb0e05c04 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -930,6 +930,9 @@ typedef struct AVStream { * Decoding: duration of the stream, in stream time base. * If a source file does not specify a duration, but does specify * a bitrate, this value will be estimated from bitrate and file size. + * + * Encoding: May be set by the caller before avformat_write_header() to + * provide a hint to the muxer about the estimated duration. */ int64_t duration; |