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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/filters.texi4
-rw-r--r--libavfilter/split.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 5ea129aacf..8d0f31cd58 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -5727,8 +5727,8 @@ subtitles=filename=sub.srt
Split input video into several identical outputs.
-The filter accepts a single parameter which specifies the number of outputs. If
-unspecified, it defaults to 2.
+The filter accepts a single option @option{outputs} which specifies
+the number of outputs. If unspecified, it defaults to 2.
For example
@example
diff --git a/libavfilter/split.c b/libavfilter/split.c
index 7268ec107e..6a5207397a 100644
--- a/libavfilter/split.c
+++ b/libavfilter/split.c
@@ -93,7 +93,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
#define OFFSET(x) offsetof(SplitContext, x)
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_VIDEO_PARAM
static const AVOption options[] = {
- { "outputs", "Number of outputs", OFFSET(nb_outputs), AV_OPT_TYPE_INT, { .i64 = 2 }, 1, INT_MAX, FLAGS },
+ { "outputs", "set number of outputs", OFFSET(nb_outputs), AV_OPT_TYPE_INT, { .i64 = 2 }, 1, INT_MAX, FLAGS },
{ NULL },
};