1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-07 04:15:32 +00:00

sip: media-manager: Initialize GStreamer if it's not already initialized

This commit is contained in:
Evangelos Ribeiro Tzaras 2022-03-01 12:51:40 +01:00
parent a99755424f
commit a78a2f3daf

View file

@ -156,7 +156,8 @@ calls_sip_media_manager_class_init (CallsSipMediaManagerClass *klass)
static void
calls_sip_media_manager_init (CallsSipMediaManager *self)
{
gst_init (NULL, NULL);
if (!gst_is_initialized())
gst_init (NULL, NULL);
self->settings = calls_settings_new ();
g_signal_connect_swapped (self->settings,