1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-30 15:49:31 +00:00

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

This commit is contained in:
Evangelos Ribeiro Tzaras 2022-03-01 12:51:11 +01:00
parent a78a2f3daf
commit 92c8a69e17

View file

@ -349,6 +349,8 @@ calls_sip_media_pipeline_class_init (CallsSipMediaPipelineClass *klass)
static void
calls_sip_media_pipeline_init (CallsSipMediaPipeline *self)
{
if (!gst_is_initialized ())
gst_init (NULL, NULL);
}