[vlc-devel] [PATCH] ffmpeg: enable debug in debug builds

Steve Lhomme robux4 at videolabs.io
Sat Jan 30 09:26:49 CET 2016


From: Steve Lhomme <robUx4 at gmail.com>

---
 contrib/src/ffmpeg/rules.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 3c06eea..24ce3c7 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -31,6 +31,10 @@ FFMPEGCONF = \
 	--disable-bzlib \
 	--disable-avresample
 
+ifeq ($(VLC_CONFIGURATION),Debug)
+FFMPEGCONF += --enable-debug
+endif
+
 ifdef USE_FFMPEG
 FFMPEGCONF += \
 	--disable-swresample \
-- 
2.6.0.windows.1



More information about the vlc-devel mailing list