Hi All,

I have created corresponding documentation patch for may last patch for vf_scale.

I have noticed that there are 2 undocumented parameters: param0 and param1, they are ready to use but missing from public documentation. I have included them in this documentation patch. I am not sure that it is acceptable (I mean polite) to write documentation for other people's stuff?

please include my patch in official documentation.

thanks in advance,

best regards,

Bela Bodecs


>From 093fc18ddf92eabea8985e18b81cb88d39450809 Wed, 20 Jan 2016 15:31:02 +0100
From: Bela Bodecs <bode...@vivanet.hu>
Date: Wed, 20 Jan 2016 15:29:13 +0100
Subject: [PATCH] vf_scale: eval, param0 and param1 documentation


Documentation of eval, param0 and param1 parameters

Signed-off-by: Bela Bodecs <bode...@vivanet.hu>
diff --git a/doc/filters.texi b/doc/filters.texi
index d8e3317..f5f4bfc 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -9952,10 +9952,25 @@
 dimension is divisible by n and adjust the value if necessary.
 
 See below for the list of accepted constants for use in the dimension
 expression.
 
+@item eval
+Specify when to evaluate @var{width} and @var{height} expression. It accepts the following values:
+
+@table @samp
+@item init
+Only evaluate expressions once during the filter initialization or when a command is processed.
+
+@item frame
+Evaluate expressions for each incoming frame.
+
+@end table
+
+Default value is @samp{init}.
+
+
 @item interl
 Set the interlacing mode. It accepts the following values:
 
 @table @samp
 @item 1
@@ -9975,10 +9990,19 @@
 Set libswscale scaling flags. See
 @ref{sws_flags,,the ffmpeg-scaler manual,ffmpeg-scaler} for the
 complete list of values. If not explicitly specified the filter applies
 the default flags.
 
+
+@item param0, param1
+Set libswscale input parameters for scaling algorithms that need them. See
+@ref{sws_params,,the ffmpeg-scaler manual,ffmpeg-scaler} for the
+complete documentation. If not explicitly specified the filter applies
+empty parameters.
+
+
+
 @item size, s
 Set the video size. For the syntax of this option, check the
 @ref{video size syntax,,"Video size" section in the ffmpeg-utils manual,ffmpeg-utils}.
 
 @item in_color_matrix
diff --git a/doc/scaler.texi b/doc/scaler.texi
index 55b2fbe..3e115cd 100644
--- a/doc/scaler.texi
+++ b/doc/scaler.texi
@@ -89,10 +89,11 @@
 Select source range.
 
 @item dst_range
 Select destination range.
 
+@anchor{sws_params}
 @item param0, param1
 Set scaling algorithm parameters. The specified values are specific of
 some scaling algorithms and ignored by others. The specified values
 are floating point number values.
 
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to