mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
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.
This commit is contained in:
parent
541d598fad
commit
3f3719da41
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS),
|
||||
G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue