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 static void
calls_sip_media_pipeline_init (CallsSipMediaPipeline *self) calls_sip_media_pipeline_init (CallsSipMediaPipeline *self)
{ {
if (!gst_is_initialized ())
gst_init (NULL, NULL);
} }