summaryrefslogtreecommitdiffstats
path: root/libavutil/log.c
Commit message (Collapse)AuthorAgeFilesLines
* log: Print a full backtrace along with error messages under ValgrindVittorio Giovara2015-04-201-0/+11
| | | | | | | | 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-191-3/+6
| | | | And deprecate av_dlog macro.
* log: Unbreak no-tty support on 256color terminalsLuca Barbato2014-09-261-1/+2
|
* log: Unbreak windows supportLuca Barbato2014-04-031-0/+1
| | | | Add the missing define.
* log: Do not assume the TERM variable is always setLuca Barbato2014-04-031-1/+1
|
* log: Remove undefined behaviourLuca Barbato2014-04-031-2/+2
|
* log: Support for 256color terminalsLuca Barbato2014-04-031-19/+38
| | | | | | | | | 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-121-4/+4
| | | | This fixes two related Doxygen warnings.
* log: pass the correct parameters to missing_feature_sampleLuca Barbato2013-07-041-7/+2
| | | | CC:libav-stable@libav.org
* Add av_log_{ask_for_sample|missing_feature} replacements to libavutilDiego Biurrun2013-03-131-0/+39
| | | | | 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-041-2/+0
|
* avutil: Use a configure check to enable windows console functionsMartin Storsjö2012-11-301-2/+2
| | | | | | 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-301-1/+3
| | | | | | | | 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-151-0/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* log: Include io.h on windowsRonald S. Bultje2012-06-251-0/+1
| | | | | | | 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-241-1/+1
| | | | | | | 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-211-0/+4
| | | | | | | | | 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-261-2/+2
| | | | 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-031-35/+47
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace some forgotten FFmpeg references by Libav.Diego Biurrun2011-11-021-4/+4
|
* log: Fix an oob array read.Alex Converse2011-05-081-1/+1
|
* Replace strncpy() with av_strlcpy().Alex Converse2011-05-031-1/+2
|
* Fix races in default av_log handlerReinhard Tartler2011-04-291-3/+4
| | | | | | 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-201-1/+1
|
* lavu: remove misc disabled cruftAnton Khirnov2011-04-191-4/+1
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Recognize FFMPEG_FORCE_NOCOLOR environment variable on Win32Daniel Verkamp2011-01-011-1/+1
| | | | | | 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-061-2/+3
| | | | | | 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-051-2/+2
| | | | | | 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-241-1/+1
| | | | 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-241-3/+3
| | | | Originally committed as revision 25177 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 2nd try to fix av_log() repeated detectionMichael Niedermayer2010-09-241-1/+8
| | | | 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-141-1/+7
| | | | | | 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-281-0/+1
| | | | Originally committed as revision 24573 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print a space after the AVClass prefix.Jai Menon2010-06-251-2/+2
| | | | | | 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-141-2/+2
| | | | 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-091-1/+1
| | | | | | 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-091-3/+23
| | | | | | 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-091-4/+4
| | | | | | | 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-091-6/+6
| | | | Originally committed as revision 23552 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print parent log context too, if available.Michael Niedermayer2010-05-191-3/+9
| | | | 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-191-0/+4
| | | | Originally committed as revision 23198 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add means to adjust the log level per context.Michael Niedermayer2010-05-081-0/+3
| | | | 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-231-5/+12
| | | | | | 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-231-1/+1
| | | | Originally committed as revision 22953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge the 2 ANSI ESC codes.Michael Niedermayer2010-04-231-1/+1
| | | | 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-231-3/+3
| | | | | | 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-221-2/+2
| | | | | | the used terminal. Originally committed as revision 22948 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Coloring the log with ANSI.Michael Niedermayer2010-04-221-1/+18
| | | | | | | | 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-201-1/+1
| | | | | | | | 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
OpenPOWER on IntegriCloud