mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
play: Automatically flush the bus when disposing the signal adapter
See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3107 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5642>
This commit is contained in:
parent
66373721d5
commit
a238caebbb
1 changed files with 2 additions and 0 deletions
|
@ -356,6 +356,8 @@ gst_play_signal_adapter_dispose (GObject * object)
|
|||
self->source = NULL;
|
||||
}
|
||||
|
||||
if (self->bus)
|
||||
gst_bus_set_flushing (self->bus, TRUE);
|
||||
gst_clear_object (&self->bus);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
|
|
Loading…
Reference in a new issue