From 07afe5da0cf0cc86232123da8ae97277c57cc4b5 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 26 Jul 2017 09:19:42 +0200 Subject: [PATCH] curlhttpsrc: Fix compilation without debugging system enabled --- ext/curl/gstcurlhttpsrc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/curl/gstcurlhttpsrc.c b/ext/curl/gstcurlhttpsrc.c index c51b854cfb..1d13f6a3f5 100644 --- a/ext/curl/gstcurlhttpsrc.c +++ b/ext/curl/gstcurlhttpsrc.c @@ -349,8 +349,10 @@ gst_curl_http_src_class_init (GstCurlHttpSrcClass * klass) /* Add a debugging task so it's easier to debug in the Multi worker thread */ GST_DEBUG_CATEGORY_INIT (gst_curl_loop_debug, "curl_multi_loop", 0, "libcURL loop thread debugging"); +#ifndef GST_DISABLE_GST_DEBUG gst_debug_log (gst_curl_loop_debug, GST_LEVEL_INFO, __FILE__, __func__, __LINE__, NULL, "Testing the curl_multi_loop debugging prints"); +#endif g_mutex_init (&klass->multi_task_context.mutex); g_cond_init (&klass->multi_task_context.signal);