From 3d50af3e4bf1165be7201cb145b94fa908adc009 Mon Sep 17 00:00:00 2001 From: Arthur Shipkowski Date: Mon, 6 May 2013 16:56:01 -0400 Subject: [PATCH] dashdemux: Fix issue with get returning a value for max-buffering-time It was not properly divided by GST_SECONDS. Also fix issue with max-buffering-time being multiplied by GST_SECONDS every time the property is retrieved. https://bugzilla.gnome.org/show_bug.cgi?id=700487 --- ext/dash/gstdashdemux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index 288e9ce152..3e81a268a5 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -381,8 +381,7 @@ gst_dash_demux_get_property (GObject * object, guint prop_id, GValue * value, switch (prop_id) { case PROP_MAX_BUFFERING_TIME: - g_value_set_uint (value, demux->max_buffering_time); - demux->max_buffering_time *= GST_SECOND; + g_value_set_uint (value, demux->max_buffering_time / GST_SECOND); break; case PROP_BANDWIDTH_USAGE: g_value_set_float (value, demux->bandwidth_usage);