doc/filters: add basic crop examples

Use it to show difference between shorthand and named parameters.
This commit is contained in:
Stefano Sabatini 2012-12-15 17:08:18 +01:00
parent 55b81528a9
commit 6722f35dd3
1 changed files with 11 additions and 0 deletions

View File

@ -1612,6 +1612,17 @@ for @var{y} may depend on @var{x}.
@subsection Examples
@itemize
@item
Crop area with size 100x100 at position (12,34).
@example
crop=100:100:12:34
@end example
Using named options, the example above becomes:
@example
crop=w=100:h=100:x=12:y=34
@end example
@item
Crop the central input area with size 100x100:
@example