summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-09-24 23:26:10 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-09-24 23:26:52 +0300
commit47b69bca12665b8510106449c44fc596cc32c4c1 (patch)
tree6cd4dd986ca75d93a1afc52487d4dd88deacab79
parent96ac822b67b56aacd3bc530ca6cba1d38f90895c (diff)
glmixerbin: "latency" property on aggregator is uint64, not int64
Also update the property description and range with aggregator's values.
-rw-r--r--ext/gl/gstglmixerbin.c5
1 files 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,