Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2014-10-21 13:45:30 +0400
committerStefano Sabatini <stefasab@gmail.com>2014-10-21 15:28:40 +0400
commit843d7bb3a60dfabec33eb5f0aa03e203e897a0fb (patch)
treeede6c11ad5affde66a96162a7a84cadf84cf6bc8 /libavfilter/avf_concat.c
parent7ba2e134fb781af4557a4cfbe616084f124de16e (diff)
lavfi/concat: accept a single segment
Simplify scripting operations, so that n=1 is not to be considered as a special case.
Diffstat (limited to 'libavfilter/avf_concat.c')
-rw-r--r--libavfilter/avf_concat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c
index 18f373ca0a..266bb361ef 100644
--- 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 },