digitalzoom: change videocrop parameters before passing caps event
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 28 Apr 2015 00:14:02 +0000 (21:14 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 28 Apr 2015 00:14:02 +0000 (21:14 -0300)
commitca96378ebf73ba23815f0492d34ad39d68d4110e
tree229952ce3ea300cfe2055f7a7627fbe7b138cb0f
parent239cb53e060a7791294eaf0e939cd4881bb471ed
digitalzoom: change videocrop parameters before passing caps event

Avoids one extra uneeded renegotiation if the elements are already
configured to their final property values when the caps event
goes through.

Also avoids hitting bug https://bugzilla.gnome.org/show_bug.cgi?id=748344
gst/camerabin2/gstdigitalzoom.c