diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2014-01-27 19:16:45 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2014-02-02 13:16:17 +0100 |
commit | 5871ee5072f725fce77cd51597ee91570de3743d (patch) | |
tree | d468a50fff2ad91786ff18475128203015dacc50 /libavformat/avformat.h | |
parent | a535d3952c66b93fc96752421da46ce2fd96158a (diff) | |
download | ffmpeg-5871ee5072f725fce77cd51597ee91570de3743d.tar.gz |
lavf: add output_ts_offset option to AVFormatContext
This option can be generally useful to set an output offset, needed when
setting an absolute index in the output.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 76b0652cec..50b710816b 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1380,6 +1380,11 @@ typedef struct AVFormatContext { */ av_format_control_message control_message_cb; + /** + * Output timestamp offset, in microseconds. + * Muxing: set by user via AVOptions (NO direct access) + */ + int64_t output_ts_offset; } AVFormatContext; int av_format_get_probe_score(const AVFormatContext *s); |