From 47b69bca12665b8510106449c44fc596cc32c4c1 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Mon, 24 Sep 2018 23:26:10 +0300 Subject: glmixerbin: "latency" property on aggregator is uint64, not int64 Also update the property description and range with aggregator's values. --- ext/gl/gstglmixerbin.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ext/gl/gstglmixerbin.c b/ext/gl/gstglmixerbin.c index 94525e1de..866b4b3f0 100644 --- a/ext/gl/gstglmixerbin.c +++ b/ext/gl/gstglmixerbin.c @@ -178,11 +178,10 @@ gst_gl_mixer_bin_class_init (GstGLMixerBinClass * klass) G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_LATENCY, - g_param_spec_int64 ("latency", "Buffer latency", + g_param_spec_uint64 ("latency", "Buffer latency", "Additional latency in live mode to allow upstream " "to take longer to produce buffers for the current " - "position", 0, - (G_MAXLONG == G_MAXINT64) ? G_MAXINT64 : (G_MAXLONG * GST_SECOND - 1), + "position (in nanoseconds)", 0, G_MAXUINT64, DEFAULT_LATENCY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_START_TIME_SELECTION, -- cgit v1.2.3