Commit 8f4f6dac authored by Nicolas Dufresne's avatar Nicolas Dufresne Committed by Tim-Philipp Müller

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.
parent db20ecf8
......@@ -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 ('<x, y, width, height>')",
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,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment