aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/options_table.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2014-01-27 19:16:45 +0100
committerStefano Sabatini <stefasab@gmail.com>2014-02-02 13:16:17 +0100
commit5871ee5072f725fce77cd51597ee91570de3743d (patch)
treed468a50fff2ad91786ff18475128203015dacc50 /libavformat/options_table.h
parenta535d3952c66b93fc96752421da46ce2fd96158a (diff)
downloadffmpeg-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/options_table.h')
-rw-r--r--libavformat/options_table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/options_table.h b/libavformat/options_table.h
index 32210422c9..b42a762738 100644
--- a/libavformat/options_table.h
+++ b/libavformat/options_table.h
@@ -78,6 +78,7 @@ static const AVOption avformat_options[] = {
{"correct_ts_overflow", "correct single timestamp overflows", OFFSET(correct_ts_overflow), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, D},
{"flush_packets", "enable flushing of the I/O context after each packet", OFFSET(flush_packets), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, E},
{"metadata_header_padding", "set number of bytes to be written as padding in a metadata header", OFFSET(metadata_header_padding), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, E},
+{"output_ts_offset", "set output timestamp offset", OFFSET(output_ts_offset), AV_OPT_TYPE_DURATION, {.i64 = 0}, -INT64_MAX, INT64_MAX, E},
{NULL},
};