From 3d17f4b9bab2d480e62875a52222c6d18c7031f3 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 25 Oct 2010 04:15:22 +0000 Subject: Add example to the filter pad documentation. Originally committed as revision 25564 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/filters.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 4f60c5f65d..157f621bf1 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -426,6 +426,15 @@ The default value of @var{color} is "black". @end table +For example: + +@example +# Add paddings with color "violet" to the input video. Output video +# size is 640x480, the top-left corner of the input video is placed at +# row 0, column 40. +pad=640:480:0:40:violet +@end example + @section pixdesctest Pixel format descriptor test filter, mainly useful for internal -- cgit v1.2.3