[FFmpeg-devel] [PATCH] Source level debug
Rich Felker
dalias
Tue Mar 4 17:02:32 CET 2008
On Tue, Mar 04, 2008 at 08:53:26AM +0000, M?ns Rullg?rd wrote:
> > It doesn't solve any of the fundamental problems which are that:
> > - building with debug symbols takes 3-5x the disk space
> > - the increased disk io significantly impacts build time
> > - thrashing the disk is bad for life expectancy (even worse on flash
> > media and some other non-disk media)
>
> I usually build in tmpfs...
Congrats to you for having hundreds of megs of tmpfs. I have zero. And
surely a machine using flash media has zero..
> > IMO it's irresponsible to do these things by default when the user did
> > not request debugging.
>
> Should we also disable all codecs and formats by default? Surely it
> is irresponsible to enable a codec the user didn't ask for.
Um, debugging is a "feature" that's only useful to developers or
people making bug reports, and even then it's questionable. I almost
never use -g for debugging. Suggesting that it's important for crash
reporting suggests a severe lack of code quality.
Codecs and formats at least provide real capabilities to a working
ffmpeg program. Debug info only provides an advantage if the program
is broken, and even then the advantage is questionable.
Rich
More information about the ffmpeg-devel
mailing list