summaryrefslogtreecommitdiff
path: root/libavutil/log.c
Commit message (Collapse)AuthorAge
* log: Print a full backtrace along with error messages under ValgrindVittorio Giovara2015-04-20
| | | | | | | | Useful to understand where and in what execution state a certain message is generated. It is enabled only when optimizations are disabled, since function names are not printed otherwise. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* log: Introduce a more verbose debug levelVittorio Giovara2015-04-19
| | | | And deprecate av_dlog macro.
* log: Unbreak no-tty support on 256color terminalsLuca Barbato2014-09-26
|
* log: Unbreak windows supportLuca Barbato2014-04-03
| | | | Add the missing define.
* log: Do not assume the TERM variable is always setLuca Barbato2014-04-03
|
* log: Remove undefined behaviourLuca Barbato2014-04-03
|
* log: Support for 256color terminalsLuca Barbato2014-04-03
| | | | | | | | | And provide extended coloring capabilities for debugging. The default colors do not change in 256 more to keep supporting people using Black on White, White on Black and Solarized terminals. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* log: Have function parameter names match between .c and .h fileDiego Biurrun2014-02-12
| | | | This fixes two related Doxygen warnings.
* log: pass the correct parameters to missing_feature_sampleLuca Barbato2013-07-04
| | | | CC:libav-stable@libav.org
* Add av_log_{ask_for_sample|missing_feature} replacements to libavutilDiego Biurrun2013-03-13
| | | | | This allows reporting missing features and requesting samples from all libraries in a standard way; with a simplified API.
* Remove pointless #undefs of previously forbidden functions.Anton Khirnov2012-12-04
|
* avutil: Use a configure check to enable windows console functionsMartin Storsjö2012-11-30
| | | | | | Not all versions or API subsets of windows have these functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil: Include io.h with a separate condition from windows console functionsMartin Storsjö2012-11-30
| | | | | | | | Not all versions of windows have the console color functions, while io.h might be needed for isatty (which can be found in unistd.h or io.h). Signed-off-by: Martin Storsjö <martin@martin.st>
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* log: Include io.h on windowsRonald S. Bultje2012-06-25
| | | | | | | This is required for isatty, which exists on MSVC and is found by configure, but is provided by io.h instead of unistd.h. Signed-off-by: Martin Storsjö <martin@martin.st>
* log: Only include unistd.h if configure found itMartin Storsjö2012-06-24
| | | | | | | MSVC has isatty (in io.h), but not unistd.h. (isatty isn't called at all for windows, since there's a special case block for that.) Signed-off-by: Martin Storsjö <martin@martin.st>
* log: include unistd.h only when neededMans Rullgard2012-06-21
| | | | | | | | | The only symbol this file uses from unistd.h is isatty(). By including the header only when this function is used, the file can be built on systems without unistd.h (which presumably also lack isatty). Signed-off-by: Mans Rullgard <mans@mansr.com>
* log: make colored output more colorful.Anton Khirnov2012-05-26
| | | | Green for verbose, cyan for debug.
* Code clean-up for crc.c, lfg.c, log.c, random_see.d, rational.c and tree.c.Yordan Makariev2011-12-03
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace some forgotten FFmpeg references by Libav.Diego Biurrun2011-11-02
|
* log: Fix an oob array read.Alex Converse2011-05-08
|
* Replace strncpy() with av_strlcpy().Alex Converse2011-05-03
|
* Fix races in default av_log handlerReinhard Tartler2011-04-29
| | | | | | Prevent competing threads from overwriting (shared) buffers. Original patch by: Michael Niedermayer <michaelni@gmx.at>
* Remove a version check in av_log made unnecessary by the big bump.Diego Biurrun2011-04-20
|
* lavu: remove misc disabled cruftAnton Khirnov2011-04-19
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Recognize FFMPEG_FORCE_NOCOLOR environment variable on Win32Daniel Verkamp2011-01-01
| | | | | | Fixes issue 2461 Originally committed as revision 26186 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce FFMPEG_FORCE_NOCOLOR, with the same meaning and use ofStefano Sabatini2010-12-06
| | | | | | NO_COLOR (but properly prefixed for avoiding namespace conflicts). Originally committed as revision 25899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow to force colored output.Etienne Buira2010-12-05
| | | | | | Patch by Etienne Buira, etienne d buira d lists a free d fr Originally committed as revision 25888 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2010-09-24
| | | | Originally committed as revision 25178 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetic (rename detect_repeats to is_atty which matches the truth)Michael Niedermayer2010-09-24
| | | | Originally committed as revision 25177 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 2nd try to fix av_log() repeated detectionMichael Niedermayer2010-09-24
| | | | Originally committed as revision 25174 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Limit av_log repeat detection to terminals so as to avoid filling files withMichael Niedermayer2010-09-14
| | | | | | lots of mess. Originally committed as revision 25117 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure "Last message repeated" is printed.Michael Niedermayer2010-07-28
| | | | Originally committed as revision 24573 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print a space after the AVClass prefix.Jai Menon2010-06-25
| | | | | | This improves readability a bit. Originally committed as revision 23767 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation on windows CEMartin Storsjö2010-06-14
| | | | Originally committed as revision 23600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* log.c: Use parameter passed to macro instead of the equivalent local variableRamiro Polla2010-06-09
| | | | | | in the only function that uses the macro. Originally committed as revision 23555 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add win32 console color output.Ramiro Polla2010-06-09
| | | | | | Based on patches by James Darnley <james dot darnley at gmail dot com>. Originally committed as revision 23554 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ansi color array to outside of av_log_default_callback(). Do not passRamiro Polla2010-06-09
| | | | | | | ansi color code to colored_fputs(), and pass instead the error level so the proper color code may be used. Originally committed as revision 23553 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename use_ansi_color to use_color so it is not ANSI-specific.Ramiro Polla2010-06-09
| | | | Originally committed as revision 23552 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print parent log context too, if available.Michael Niedermayer2010-05-19
| | | | Originally committed as revision 23200 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_default_item_name() so Simply AVClasses need 1 function less.Michael Niedermayer2010-05-19
| | | | Originally committed as revision 23198 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add means to adjust the log level per context.Michael Niedermayer2010-05-08
| | | | Originally committed as revision 23059 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 4th try at getting ansi colors working with a default of color=yes_please.Michael Niedermayer2010-04-23
| | | | | | Colors will only be used if the TERM env var is set and NO_COLOR is not set. Originally committed as revision 22957 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Trying _WIN32 for win32 detection.Michael Niedermayer2010-04-23
| | | | Originally committed as revision 22953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge the 2 ANSI ESC codes.Michael Niedermayer2010-04-23
| | | | Originally committed as revision 22952 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reenable ANSI colors, use method from VLC as suggested by ramiro.Michael Niedermayer2010-04-23
| | | | | | Please tell us asap if this breaks for your platform & terminal. Originally committed as revision 22951 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable ANSI color code until we figured out how to detect ANSI support inMichael Niedermayer2010-04-22
| | | | | | the used terminal. Originally committed as revision 22948 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Coloring the log with ANSI.Michael Niedermayer2010-04-22
| | | | | | | | Ive checked this on black and white background and found no problem in terms of readability. flames welcome. Originally committed as revision 22946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk