[FFmpeg-devel] Compiling some files with DEBUG

Christophe Gisquet christophe.gisquet at gmail.com
Wed Aug 20 12:07:10 CEST 2014


Hi,

the goal is to have av_dlog output something for the recompiled files.
How are you doing it? I edit config.mak but when eg rebasing and
recompiling, this may cause a lot of files to have av_dlog active and
cause massive spamage.

If it's not easy, could it be something like:
rm <the object files you want to debug>
make <your target> MY_FFMPEG_EXTRA_DEBUG=1
Then specific targets are used instead.

Or, simpler, MY_FFMPEG_EXTRA_DEBUG="-DDEBUG=1"
and have MY_FFMPEG_EXTRA_DEBUG added to CFLAGS

Of course, building with MY_FFMPEG_EXTRA_DEBUG would be unsupported.

-- 
Christophe


More information about the ffmpeg-devel mailing list