GNOME Bugzilla – Bug 738838
videobox: critical error when element properties set as max/min
Last modified: 2014-10-24 13:30:39 UTC
In case of videobox element, 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. Hence adding a condition for the same
Created attachment 288880 [details] [review] proposed patch
There are errors in launching when the element properties are set outside the range of video dimensions. Not sure if we should let application handle it, or we should eliminate the same from videobox element. Please advice on these scenarios.
commit 1131db8c1f6b096dfa9737e2fb3cc7f904104b1b Author: Vineeth T M <vineeth.tm@samsung.com> Date: Mon Oct 20 11:57:38 2014 +0530 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
Thanks for merging this Sebastian :)