aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-19 01:02:54 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-19 23:15:33 +0200
commit50764e19a8edc018b6e5276f1b3e4215ba66217f (patch)
tree4c5163e93f48c9ef06cc9ddce978fbbd3cfaaf7d /doc/filters.texi
parent509b32cf5d5656473e277ac43dbb2ce9da66bff2 (diff)
downloadffmpeg-50764e19a8edc018b6e5276f1b3e4215ba66217f.tar.gz
vsrc_buffer: make the source accept sws_param in init
Avoid the need of two distinct av_vsrc_add_video_buffer_ref* functions. Simplify the interface.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 523e279d46..1407828cbe 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1536,9 +1536,10 @@ This source is mainly intended for a programmatic use, in particular
through the interface defined in @file{libavfilter/vsrc_buffer.h}.
It accepts the following parameters:
-@var{width}:@var{height}:@var{pix_fmt_string}:@var{timebase_num}:@var{timebase_den}:@var{sample_aspect_ratio_num}:@var{sample_aspect_ratio.den}
+@var{width}:@var{height}:@var{pix_fmt_string}:@var{timebase_num}:@var{timebase_den}:@var{sample_aspect_ratio_num}:@var{sample_aspect_ratio.den}:@var{scale_params}
-All the parameters need to be explicitely defined.
+All the parameters but @var{scale_params} need to be explicitely
+defined.
Follows the list of the accepted parameters.
@@ -1559,6 +1560,11 @@ timestamps of the buffered frames.
@item sample_aspect_ratio.num, sample_aspect_ratio.den
Specify numerator and denominator of the sample aspect ratio assumed
by the video frames.
+
+@item scale_params
+Specify the optional parameters to be used for the scale filter which
+is automatically inserted when an input change is detected in the
+input size or format.
@end table
For example: