summaryrefslogtreecommitdiff
path: root/src/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.h')
-rw-r--r--src/lib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib.h b/src/lib.h
index c2b5f32..9bbd790 100644
--- a/src/lib.h
+++ b/src/lib.h
@@ -64,6 +64,12 @@ struct _TranscodeClientCtx {
TranscodeServerCtx *server_ctx;
};
+#ifdef ENCODE_DEBUG
+#define stp_print_status(...) g_print(__VA_ARGS__)
+#else
+#define stp_print_status(...) do {} while (0)
+#endif
+
void stp_cleanup_transcode_server_ctx (TranscodeServerCtx *ctx);
void stp_cleanup_transcode_client_ctx (TranscodeClientCtx *ctx);