summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2014-07-10 15:10:14 (GMT)
committerNirbheek Chauhan <nirbheek@centricular.com>2014-07-10 15:10:14 (GMT)
commit720b406ed6382187bbb60ec9038828178d58736b (patch)
tree8b2e2f378d3c04e390f48f6eabd63d2afebb644e /src/main.c
parent3839e9836d2e4740efd9610a1aa50dd792e78a59 (diff)
downloadsoup-transcoding-proxy-720b406ed6382187bbb60ec9038828178d58736b.zip
soup-transcoding-proxy-720b406ed6382187bbb60ec9038828178d58736b.tar.gz
debug: Use separate #ifdefs for each DEBUG
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 7834c53..db08a60 100644
--- a/src/main.c
+++ b/src/main.c
@@ -4,7 +4,7 @@
#include "lib.h"
#include "encode.h"
-#ifdef DEBUG
+#ifdef PLAY_DEBUG
#include "debug/local-play.h"
#endif
@@ -365,7 +365,7 @@ got_request_headers (SoupMessage *msg,
TranscodeServerCtx *ctx;
SoupURI *uri;
-#ifdef DEBUG
+#ifdef HEADERS_DEBUG
SoupMessageHeadersIter iter;
const char *name, *value;
soup_message_headers_iter_init (&iter, msg->request_headers);
@@ -407,7 +407,7 @@ PUT: {
ctx->pipeline = gst_pipeline_new ("pipe");
/* The chunked request is copied into this stream
* for consumption by the gst pipeline */
-#ifdef DEBUG
+#ifdef PLAY_DEBUG
stp_play_from_msg (ctx);
#else
stp_encode_from_msg (ctx);