summaryrefslogtreecommitdiff
path: root/ext/curl
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2017-07-26 09:19:42 +0200
committerEdward Hervey <bilboed@bilboed.com>2017-07-26 09:19:42 +0200
commit07afe5da0cf0cc86232123da8ae97277c57cc4b5 (patch)
tree952ce6e2dc2b8324d66e25021b7be02f93ddd496 /ext/curl
parente74b3a02ddf0e964b0ad8cc12b9e4967652f23e2 (diff)
downloadgstreamer-plugins-bad-07afe5da0cf0cc86232123da8ae97277c57cc4b5.tar.gz
curlhttpsrc: Fix compilation without debugging system enabled
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/gstcurlhttpsrc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curl/gstcurlhttpsrc.c b/ext/curl/gstcurlhttpsrc.c
index c51b854cf..1d13f6a3f 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);