summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 547d7ab..fa3ca1c 100644
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,16 @@ ifeq ($(DEBUG), 1)
DEFINES += -DDEBUG
endif
+DEBUG_LATENCY ?= 0
+ifeq ($(DEBUG_LATENCY), 1)
+ DEFINES += -DDEBUG_LATENCY
+endif
+
+DEBUG_BUFFERS ?= 0
+ifeq ($(DEBUG_BUFFERS), 1)
+ DEFINES += -DDEBUG_BUFFERS
+endif
+
# ffmpeg/libav configuration
ifdef EXT_LIBAV
LIBAV_PKGCFG = $(shell PKG_CONFIG_PATH=$(EXT_LIBAV)/lib/pkgconfig pkg-config $(1))