diff options
-rw-r--r-- | src/encode.c | 4 | ||||
-rw-r--r-- | src/main.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/encode.c b/src/encode.c index 62f0a71..a57c8a9 100644 --- a/src/encode.c +++ b/src/encode.c @@ -141,9 +141,9 @@ stp_encode_from_msg (TranscodeServerCtx *ctx) "avoid-reencoding", TRUE, NULL); tee = gst_element_factory_make ("tee", "tee"); q1 = gst_element_factory_make ("queue", "q1"); -#ifndef DEBUG +#ifdef ENCODE_DEBUG fakesink = gst_element_factory_make ("filesink", "filesink"); - g_object_set (fakesink, "location", "debug-output.webm", NULL); + g_object_set (fakesink, "location", "debug-encode.webm", NULL); #else fakesink = gst_element_factory_make ("fakesink", "fakesink"); #endif @@ -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); |