videobox: critical error when element properties set as max/min
authorVineeth T M <vineeth.tm@samsung.com>
Mon, 20 Oct 2014 06:27:38 +0000 (11:57 +0530)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 20 Oct 2014 10:53:51 +0000 (12:53 +0200)
commit1131db8c1f6b096dfa9737e2fb3cc7f904104b1b
tree63a388ca2844c3c04b8306c69af1c2c75cc0c603
parentf3fec86bc95e86e4a43d512eba4e8ce4c8faafcd
videobox: critical error when element properties set as max/min

left, right, top, bottom can be set from range of -2147483648 to 2147483647
when i launch the videobox element with that values, it gives a critical error

(gst-check-1.0:29869): GStreamer-CRITICAL **: gst_value_set_int_range_step: assertion 'start < end' failed
This happens because min cannot be equal to max.

https://bugzilla.gnome.org/show_bug.cgi?id=738838
gst/videobox/gstvideobox.c