mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 01:28:34 +00:00
player: Without dispatcher emit signals directly instead of via the default main context
This is how it was documented and how it worked before the port to GstPlay. Without this, applications expecting signals to be emitted directly without anything running the main context will simply not receive any signals. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5672>
This commit is contained in:
parent
cb3c1390f2
commit
6b22f53fa9
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ gst_player_constructed (GObject * object)
|
|||
gst_play_signal_adapter_new_with_main_context (self->play, context);
|
||||
g_main_context_unref (context);
|
||||
} else {
|
||||
self->signal_adapter = gst_play_signal_adapter_new (self->play);
|
||||
self->signal_adapter = gst_play_signal_adapter_new_sync_emit (self->play);
|
||||
}
|
||||
|
||||
g_signal_connect (self->signal_adapter, "uri-loaded",
|
||||
|
|
Loading…
Reference in a new issue