---
 doc/filters.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index 5f9d1f8..8e105d6 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1034,6 +1034,9 @@ crop=out_w=in_w-100:out_h=in_h-100:x=100:y=100
 
 # Set x depending on the value of y
 "crop=in_w/2:in_h/2:y:10+10*sin(n/10)"
+
+# Make sure width and height are multiple of 2
+"crop=x=0:y=0:out_w=((in_w-1)/2)*2:out_h=((in_h-1\)/2\)*2
 @end example
 
 @section cropdetect
-- 
1.8.5.2 (Apple Git-48)

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to