diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2016-03-15 17:50:00 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2016-03-15 17:50:00 +0100 |
commit | 7725210e715dc4121bcb6ae7b0aba6d8ccfb7c46 (patch) | |
tree | e2b381d2cb1220198476ec2e05472939bfaac9e0 | |
parent | 69638517d15912f5411cb5ebd0513c31beed2798 (diff) | |
download | ffmpeg-7725210e715dc4121bcb6ae7b0aba6d8ccfb7c46.tar.gz |
lavf/segment: change type of increment_tc to BOOL
-rw-r--r-- | libavformat/segment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c index 6335c89921..ccedd04ff5 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -979,7 +979,7 @@ static const AVOption options[] = { { "segment_start_number", "set the sequence number of the first segment", OFFSET(segment_idx), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, E }, { "segment_wrap_number", "set the number of wrap before the first segment", OFFSET(segment_idx_wrap_nb), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, E }, { "strftime", "set filename expansion with strftime at segment creation", OFFSET(use_strftime), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, E }, - { "increment_tc", "increment timecode between each segment", OFFSET(increment_tc), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, 1, E }, + { "increment_tc", "increment timecode between each segment", OFFSET(increment_tc), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, E }, { "break_non_keyframes", "allow breaking segments on non-keyframes", OFFSET(break_non_keyframes), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, E }, { "individual_header_trailer", "write header/trailer to each segment", OFFSET(individual_header_trailer), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, E }, |