projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7ba2e13
)
lavfi/concat: accept a single segment
author
Stefano Sabatini
<stefasab@gmail.com>
Tue, 21 Oct 2014 09:45:30 +0000
(11:45 +0200)
committer
Stefano Sabatini
<stefasab@gmail.com>
Tue, 21 Oct 2014 11:28:40 +0000
(13:28 +0200)
Simplify scripting operations, so that n=1 is not to be considered as a
special case.
libavfilter/avf_concat.c
patch
|
blob
|
history
diff --git
a/libavfilter/avf_concat.c
b/libavfilter/avf_concat.c
index
18f373c
..
266bb36
100644
(file)
--- a/
libavfilter/avf_concat.c
+++ b/
libavfilter/avf_concat.c
@@
-59,7
+59,7
@@
typedef struct {
static const AVOption concat_options[] = {
{ "n", "specify the number of segments", OFFSET(nb_segments),
- AV_OPT_TYPE_INT, { .i64 = 2 },
2
, INT_MAX, V|A|F},
+ AV_OPT_TYPE_INT, { .i64 = 2 },
1
, INT_MAX, V|A|F},
{ "v", "specify the number of video streams",
OFFSET(nb_streams[AVMEDIA_TYPE_VIDEO]),
AV_OPT_TYPE_INT, { .i64 = 1 }, 0, INT_MAX, V|F },