[FFmpeg-cvslog] lavf/segment: change type of increment_tc to BOOL
Stefano Sabatini
git at videolan.org
Tue Mar 15 17:53:01 CET 2016
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue Mar 15 17:50:00 2016 +0100| [7725210e715dc4121bcb6ae7b0aba6d8ccfb7c46] | committer: Stefano Sabatini
lavf/segment: change type of increment_tc to BOOL
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7725210e715dc4121bcb6ae7b0aba6d8ccfb7c46
---
libavformat/segment.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 6335c89..ccedd04 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 },
More information about the ffmpeg-cvslog
mailing list