On Wed, Aug 20, 2014 at 12:07:10PM +0200, Christophe Gisquet wrote:
> 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.

iam probably missing something but why not add
#define DEBUG 1
to the specific file or header for which to enable av_dlog() ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to