mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-06 01:19:38 +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/5673>
This commit is contained in:
parent
faf6edc026
commit
07cb8432cc
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