Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-11Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis
* commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-27avutil/log: added test case for av_log_format_line2Andreas Weis
Signed-off-by: Andreas Weis <github@ghulbus-inc.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-27avutil/log: added av_log_format_line2 which returns buffer lengthAndreas Weis
The new function behaves the same as av_log_format_line, but also forwards the return value from the underlying snprintf call. This will allow callers to accurately determine the size requirements for the line buffer. Signed-off-by: Andreas Weis <github@ghulbus-inc.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-17avutil/log: fix zero length gnu_printf format string warningGanesh Ajjanagadde
This should fix warning reported by fate client: http://fate.ffmpeg.org/report.cgi?time=20150917113121&slot=x86_32-linux-gnu-gcc-4.5.1-have_6regs. Untested. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-04-21Merge commit 'eaa2d123f0a643664721593d248ece6bcd85f1e6'Michael Niedermayer
* commit 'eaa2d123f0a643664721593d248ece6bcd85f1e6': log: Print a full backtrace along with error messages under Valgrind Conflicts: libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-20log: Print a full backtrace along with error messages under ValgrindVittorio Giovara
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>
2015-04-20Merge commit 'c253340ae6f74ffd8798bbd476e46d1b33a2d56e'Michael Niedermayer
* commit 'c253340ae6f74ffd8798bbd476e46d1b33a2d56e': log: Introduce a more verbose debug level Conflicts: doc/APIchanges doc/fftools-common-opts.texi libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-19log: Introduce a more verbose debug levelVittorio Giovara
And deprecate av_dlog macro.
2014-09-26log: Unbreak no-tty support on 256color terminalsLuca Barbato
2014-06-03Loose mplayer in MPlayer/incoming/Michael Niedermayer
Found-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-03Add direct link to ML in missing_feature_sample()Michael Niedermayer
Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-29avutil/log: fix memleak from 669a09fb372fa58ff913ebc326cb64bb3e8e7928Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-26Add AV_LOG_PRINT_LEVEL flag to include log severity in default log formatting.tue46wsdgxfjrt
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-12avutil/log: add av_log_get_flags()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-09avutil/log: factor "level != AV_LOG_INFO/8" checks outMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-04log: allow color highlighting in Cygwin's minttyJames Darnley
Configure will detect the availability of the Windows' console functions and set HAVE_SETCONSOLETEXTATTRIBUTE. Meaning av_log will use those functions to control colours. When ffmpeg is run in Cygwin's mintty terminal emulator it will not use colour highlighting in this case. Mintty responds to the usual escape code colours (it even supports 256 colours). Windows' cmd.exe does not. Fortunately it seems that Cygwin's emulation layer now translates the basic 16 colours into Windows' Console command functions. That means that we can have av_log use the standard colour commands and let ffmpeg print colours in both mintty and cmd. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-04log: Unbreak windows supportLuca Barbato
Add the missing define.
2014-04-04avutil/log: remove stray ;Michael Niedermayer
regression since 5a18b215f7138c0bd59f27389050b0311fa4a549 Reported-by: J_Darnley Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-04avutil/log: fix negative log levelsMichael Niedermayer
These where broken by 7763118cae4eb468b032dbd29af15a011c2c233b Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-04avutil/log: add code to test av_log()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-04Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: log: Do not assume the TERM variable is always set Conflicts: libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-03Merge commit '28b9ac4e48f3405a82e8e87ead336188215cf1e6'Michael Niedermayer
* commit '28b9ac4e48f3405a82e8e87ead336188215cf1e6': log: Remove undefined behaviour Conflicts: libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-03Merge commit '7763118cae4eb468b032dbd29af15a011c2c233b'Michael Niedermayer
* commit '7763118cae4eb468b032dbd29af15a011c2c233b': log: Support for 256color terminals Conflicts: doc/APIchanges libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-03log: Factorize check_color_terminal() outLuca Barbato
2014-04-03log: Do not assume the TERM variable is always setLuca Barbato
2014-04-03log: Remove undefined behaviourLuca Barbato
2014-04-03log: Support for 256color terminalsLuca Barbato
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>
2014-03-04lavu/log: add device categoriesLukasz Marek
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
2014-02-12Merge commit '25a1ba814ad80056247fd357ec4c6911324a3f66'Michael Niedermayer
* commit '25a1ba814ad80056247fd357ec4c6911324a3f66': log: Have function parameter names match between .c and .h file Conflicts: libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-12log: Have function parameter names match between .c and .h fileDiego Biurrun
This fixes two related Doxygen warnings.
2013-12-07avutil/log: skip IO calls on empty stringsMichael Niedermayer
These occur when no context is set for example, thus they are common Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-07avutil/log: skip setting color for default (AV_LOG_INFO) levelMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-07avutil/log: merge calls that set ansi color and print the stringMichael Niedermayer
about 1/3 or so faster Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-27avutil/log: check that len is within the buffer before reading itMichael Niedermayer
Fixes out of array read Fixes: asan_heap-oob_19d6979_6857_mmw_deadzy.ogg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-23avutil/log: make default av_log callback thread safeMichael Niedermayer
This uses a pthread mutex Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-17avutil/log: fix race between setting and using the log callbackMichael Niedermayer
Found-by: wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-10avutil/log: Use bprint for partMichael Niedermayer
This should fix the issue with strings longer than 1024 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-07lavu/log: do not skip overwritten lines.Nicolas George
If the line ends with \r, it will not flood the tty, and the "Last message repeated" line would overwrite it. Fix bug introduced by c25d1ba.
2013-07-20lavu/log: print prefix after \r.Nicolas George
Should fix trac ticket #2797 because of the progress line.
2013-07-05Merge commit '0420c810ceb430003f9f2793c5cfa1fe84657f3d'Michael Niedermayer
* commit '0420c810ceb430003f9f2793c5cfa1fe84657f3d': log: pass the correct parameters to missing_feature_sample Conflicts: libavutil/log.c See: 572e38a513139b21c35acfef13aa7c4e307ab648 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-04log: pass the correct parameters to missing_feature_sampleLuca Barbato
CC:libav-stable@libav.org
2013-04-30avutil/log: Fix context pointer used for get_category()Michael Niedermayer
Fixes calling a random pointer Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-27avutil/log: dont count&print repeats for empty stringsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-26avutil/log: leave prefix printing state on empty input.Michael Niedermayer
Fixes printing the prefix after an empty string was printed Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-13log: Remove redundant va_list creation from missing_feature_sample()James Almer
avpriv_request_sample() and avpriv_report_missing_feature() were printing bogus values for the extra arguments. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-14Merge commit 'f099d3d1d5466bd63f4ab36270d169ff9ea613b8'Michael Niedermayer
* commit 'f099d3d1d5466bd63f4ab36270d169ff9ea613b8': Add av_log_{ask_for_sample|missing_feature} replacements to libavutil ismindex: Check the return value of allocations Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-13Add av_log_{ask_for_sample|missing_feature} replacements to libavutilDiego Biurrun
This allows reporting missing features and requesting samples from all libraries in a standard way; with a simplified API.
2012-12-05Merge commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967'Michael Niedermayer
* commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967': Remove pointless #undefs of previously forbidden functions. fate: Add dependencies for bmp, cdxl, dfa, mp3 Conflicts: doc/examples/muxing.c libavfilter/filtfmts.c libavutil/des.c libavutil/eval.c libavutil/log.c libavutil/parseutils.c tests/fate/mp3.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-05Remove pointless #undefs of previously forbidden functions.Anton Khirnov
2012-12-01Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: configure: Use headers in the check for _beginthreadex for w32threads avutil: Use a configure check to enable windows console functions avutil: Include io.h with a separate condition from windows console functions Conflicts: libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>