videocrop: Add support for automatic cropping
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 6 Nov 2012 14:03:55 +0000 (15:03 +0100)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Wed, 7 Nov 2012 10:20:24 +0000 (11:20 +0100)
commit1ad8ebac4487ebf934e58b701a6fc299967426e5
tree286eaa1ec74ae6ef99a3977a1bb3e4753b9af125
parent8c44361bca80fa4ed2ec6005c624343c7f4ec866
videocrop: Add support for automatic cropping

This change enable automatic cropping using -1 set to left, top, right or
bottom property. In the case both side are set to automatic cropping, the
croping will be done equally on both side (in the odd case, right and
bottom cropping will be 1 pixel more).

https://bugzilla.gnome.org/show_bug.cgi?id=687761
gst/videocrop/gstvideocrop.c
gst/videocrop/gstvideocrop.h
tests/check/elements/videocrop.c