mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-08 04:45:31 +00:00
sip: media-manager: Initialize GStreamer if it's not already initialized
This commit is contained in:
parent
a99755424f
commit
a78a2f3daf
1 changed files with 2 additions and 1 deletions
|
@ -156,7 +156,8 @@ calls_sip_media_manager_class_init (CallsSipMediaManagerClass *klass)
|
||||||
static void
|
static void
|
||||||
calls_sip_media_manager_init (CallsSipMediaManager *self)
|
calls_sip_media_manager_init (CallsSipMediaManager *self)
|
||||||
{
|
{
|
||||||
gst_init (NULL, NULL);
|
if (!gst_is_initialized())
|
||||||
|
gst_init (NULL, NULL);
|
||||||
|
|
||||||
self->settings = calls_settings_new ();
|
self->settings = calls_settings_new ();
|
||||||
g_signal_connect_swapped (self->settings,
|
g_signal_connect_swapped (self->settings,
|
||||||
|
|
Loading…
Reference in a new issue