summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-25 04:15:22 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-25 04:15:22 +0000
commit3d17f4b9bab2d480e62875a52222c6d18c7031f3 (patch)
tree4b360159c8884a33bcd41ea511b1760efb592a2f /doc/filters.texi
parentce3716bf059e79be38dccdfea069e39e179d1a8d (diff)
Add example to the filter pad documentation.
Originally committed as revision 25564 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi9
1 files changed, 9 insertions, 0 deletions
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