mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +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/5653>
This commit is contained in:
parent
b1067c023d
commit
dc1dc56c2d
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