mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-08 04:45:31 +00:00
sip: media-pipeline: Initialize GStreamer if it's not already initialized
This commit is contained in:
parent
a78a2f3daf
commit
92c8a69e17
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue