summaryrefslogtreecommitdiff
path: root/src/encode.c
diff options
context:
space:
mode:
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