From 50764e19a8edc018b6e5276f1b3e4215ba66217f Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 19 May 2011 01:02:54 +0200 Subject: 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. --- doc/filters.texi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'doc') 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: -- cgit v1.2.3