mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
This commit is contained in:
parent
c383dd6420
commit
3d50af3e4b
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue