mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
bin: reset GValue from iterator after usage
This commit is contained in:
parent
51ebcaef74
commit
209631789a
1 changed files with 3 additions and 0 deletions
|
@ -2792,8 +2792,11 @@ gst_bin_send_event (GstElement * element, GstEvent * event)
|
||||||
|
|
||||||
gst_event_ref (event);
|
gst_event_ref (event);
|
||||||
res &= gst_element_send_event (child, event);
|
res &= gst_element_send_event (child, event);
|
||||||
|
|
||||||
GST_LOG_OBJECT (child, "After handling %s event: %d",
|
GST_LOG_OBJECT (child, "After handling %s event: %d",
|
||||||
GST_EVENT_TYPE_NAME (event), res);
|
GST_EVENT_TYPE_NAME (event), res);
|
||||||
|
|
||||||
|
g_value_reset (&data);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_ITERATOR_RESYNC:
|
case GST_ITERATOR_RESYNC:
|
||||||
|
|
Loading…
Reference in a new issue