OSDN Git Service

Add example to the filter pad documentation.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 25 Oct 2010 04:15:22 +0000 (04:15 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 25 Oct 2010 04:15:22 +0000 (04:15 +0000)
Originally committed as revision 25564 to svn://svn.ffmpeg.org/ffmpeg/trunk

doc/filters.texi

index 4f60c5f..157f621 100644 (file)
@@ -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