Browse code

lavfi/split: fix minor documentation issues

Use verbal form to describe "outputs" options, and mention it in the
manual.

Stefano Sabatini authored on 2013/04/15 06:21:11
Showing 2 changed files
... ...
@@ -5727,8 +5727,8 @@ subtitles=filename=sub.srt
5727 5727
 
5728 5728
 Split input video into several identical outputs.
5729 5729
 
5730
-The filter accepts a single parameter which specifies the number of outputs. If
5731
-unspecified, it defaults to 2.
5730
+The filter accepts a single option @option{outputs} which specifies
5731
+the number of outputs. If unspecified, it defaults to 2.
5732 5732
 
5733 5733
 For example
5734 5734
 @example
... ...
@@ -93,7 +93,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
93 93
 #define OFFSET(x) offsetof(SplitContext, x)
94 94
 #define FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_VIDEO_PARAM
95 95
 static const AVOption options[] = {
96
-    { "outputs", "Number of outputs", OFFSET(nb_outputs), AV_OPT_TYPE_INT, { .i64 = 2 }, 1, INT_MAX, FLAGS },
96
+    { "outputs", "set number of outputs", OFFSET(nb_outputs), AV_OPT_TYPE_INT, { .i64 = 2 }, 1, INT_MAX, FLAGS },
97 97
     { NULL },
98 98
 };
99 99