avutil/log: add av_log_get_flags()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/64/merge
Michael Niedermayer 11 years ago
parent e89f3d0ed2
commit 4f698be8f6
  1. 3
      doc/APIchanges
  2. 5
      libavutil/log.c
  3. 1
      libavutil/log.h
  4. 2
      libavutil/version.h

@ -15,6 +15,9 @@ libavutil: 2012-10-22
API changes, most recent first:
2014-04-12 - xxxxxxx - lavu 52.76.100 - log.h
Add av_log_get_flags()
2014-04-xx - xxxxxxx - lavd 55.12.100 - avdevice.h
Add avdevice_capabilities_create() function.
Add avdevice_capabilities_free() function.

@ -345,6 +345,11 @@ void av_log_set_flags(int arg)
flags = arg;
}
int av_log_get_flags(void)
{
return flags;
}
void av_log_set_callback(void (*callback)(void*, int, const char*, va_list))
{
av_log_callback = callback;

@ -322,6 +322,7 @@ void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl,
*/
#define AV_LOG_SKIP_REPEATED 1
void av_log_set_flags(int arg);
int av_log_get_flags(void);
/**
* @}

@ -56,7 +56,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 52
#define LIBAVUTIL_VERSION_MINOR 75
#define LIBAVUTIL_VERSION_MINOR 76
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \

Loading…
Cancel
Save