From: Nicolas Dufresne Date: Mon, 4 Mar 2019 22:05:04 +0000 (-0500) Subject: videooverlay: Fix render-rectangle range X-Git-Tag: 1.19.3~511^2~1213 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f3719da41368d0a41755005f294def8abd9e477;p=platform%2Fupstream%2Fgstreamer.git videooverlay: Fix render-rectangle range The range was set to -1 to MAXINT, but the x,y value can be negative. Relax the restriction so that we can now have negative coordinates. --- diff --git a/gst-libs/gst/video/videooverlay.c b/gst-libs/gst/video/videooverlay.c index 656fb15..7cc8b69 100644 --- a/gst-libs/gst/video/videooverlay.c +++ b/gst-libs/gst/video/videooverlay.c @@ -534,7 +534,7 @@ gst_video_overlay_install_properties (GObjectClass * oclass, gint last_prop_id) gst_param_spec_array ("render-rectangle", "Render Rectangle", "The render rectangle ('')", g_param_spec_int ("rect-value", "Rectangle Value", - "One of x, y, width or height value.", -1, G_MAXINT, -1, + "One of x, y, width or height value.", G_MININT, G_MAXINT, -1, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS), G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); }