X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavformat%2Foptions_table.h;h=84fb5eeff9e0bddd47a735fb5b3676371d43646e;hp=58624711504b5779dc725aac53d24758214d3984;hb=8ee14aa5c7a283b09dbd3e82e21208c1aa1ab938;hpb=35e81441fc24ae9d40205669967b236617f519c9 diff --git a/libavformat/options_table.h b/libavformat/options_table.h index 5862471150..84fb5eeff9 100644 --- a/libavformat/options_table.h +++ b/libavformat/options_table.h @@ -71,7 +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", "if set to 1, all timestamps will be shifted to make them positive, if -1, such shift will be done when required by the container, if 0 ts will be unchanged", OFFSET(avoid_negative_ts), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 1, E}, +{"avoid_negative_ts", "shift timestamps to make them positive. 1 enables, 0 disables, default of -1 enables when required by target format.", OFFSET(avoid_negative_ts), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 1, E}, {"skip_initial_bytes", "skip initial bytes", OFFSET(skip_initial_bytes), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX-1, D}, {NULL}, };