From 3c2fff7165349a395493b425e06152be601bf06b Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Sun, 14 Jun 2015 23:13:59 +0200 Subject: [PATCH] videoaggregator: No need to artificially bound the zorder. It is an unsigned integer so the upper bound is G_MAXUINT. --- gst-libs/gst/video/gstvideoaggregator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index 7e4341b447..471b854196 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -310,7 +310,7 @@ gst_videoaggregator_pad_class_init (GstVideoAggregatorPadClass * klass) g_object_class_install_property (gobject_class, PROP_PAD_ZORDER, g_param_spec_uint ("zorder", "Z-Order", "Z Order of the picture", - 0, 10000, DEFAULT_PAD_ZORDER, + 0, G_MAXUINT, DEFAULT_PAD_ZORDER, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_PAD_IGNORE_EOS, g_param_spec_boolean ("ignore-eos", "Ignore EOS", "Aggregate the last "