summaryrefslogtreecommitdiff
path: root/src/encode.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/encode.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/encode.c')
-rw-r--r--src/encode.c4
1 files changed, 2 insertions, 2 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