mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-15 21:05:36 +00:00
sip-pipeline: Only use gstreamer debugging if option is set
Fixes build issues when gstreamer has not been compiled with debugging enabled. Fixes: #533
This commit is contained in:
parent
1cbffebdf6
commit
c5025d4cc5
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,8 @@
|
|||
|
||||
#define G_LOG_DOMAIN "CallsSipMediaPipeline"
|
||||
|
||||
#include "calls-config.h"
|
||||
|
||||
#include "calls-media-pipeline-enums.h"
|
||||
#include "calls-sip-media-pipeline.h"
|
||||
#include "calls-srtp-utils.h"
|
||||
|
@ -1140,6 +1142,7 @@ static void
|
|||
dump_pipeline_graph_to_path (GstBin *bin,
|
||||
const char *full_path)
|
||||
{
|
||||
#ifdef CALLS_GST_DEBUG
|
||||
g_autoptr (GFile) file = NULL;
|
||||
char *dot_data;
|
||||
|
||||
|
@ -1157,6 +1160,7 @@ dump_pipeline_graph_to_path (GstBin *bin,
|
|||
NULL,
|
||||
on_dump_file_created,
|
||||
dot_data);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue