diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-26 15:55:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-26 15:55:16 +0200 |
commit | 3ba0dab76ac32f0c9f50c916a73bc64e43c1fdf9 (patch) | |
tree | 220fbc9a57cab1990672a8a5beb1b29fd17d3aee /libavformat/options_table.h | |
parent | e9350c44ad97b7d85478696912c88142b0d25e3b (diff) | |
download | ffmpeg-3ba0dab76ac32f0c9f50c916a73bc64e43c1fdf9.tar.gz |
lavf: Add support offset timestamps on muxing.
This allows avoiding negative timestamps.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/options_table.h')
-rw-r--r-- | libavformat/options_table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/options_table.h b/libavformat/options_table.h index a1cfaaa597..778c740f92 100644 --- a/libavformat/options_table.h +++ b/libavformat/options_table.h @@ -71,6 +71,7 @@ static const AVOption options[]={ {"compliant", "consider all spec non compliancies as errors", 0, AV_OPT_TYPE_CONST, {.i64 = AV_EF_COMPLIANT }, INT_MIN, INT_MAX, D, "err_detect"}, {"aggressive", "consider things that a sane encoder shouldnt do as an error", 0, AV_OPT_TYPE_CONST, {.i64 = AV_EF_AGGRESSIVE }, INT_MIN, INT_MAX, D, "err_detect"}, {"use_wallclock_as_timestamps", "use wallclock as timestamps", OFFSET(use_wallclock_as_timestamps), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX-1, D}, +{"avoid_negative_ts", "avoid negative timestamps", OFFSET(avoid_negative_ts), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 1, E}, {NULL}, }; |