Commit 4f698be8 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/log: add av_log_get_flags()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e89f3d0e
...@@ -15,6 +15,9 @@ libavutil: 2012-10-22 ...@@ -15,6 +15,9 @@ libavutil: 2012-10-22
API changes, most recent first: 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 2014-04-xx - xxxxxxx - lavd 55.12.100 - avdevice.h
Add avdevice_capabilities_create() function. Add avdevice_capabilities_create() function.
Add avdevice_capabilities_free() function. Add avdevice_capabilities_free() function.
......
...@@ -345,6 +345,11 @@ void av_log_set_flags(int arg) ...@@ -345,6 +345,11 @@ void av_log_set_flags(int arg)
flags = arg; flags = arg;
} }
int av_log_get_flags(void)
{
return flags;
}
void av_log_set_callback(void (*callback)(void*, int, const char*, va_list)) void av_log_set_callback(void (*callback)(void*, int, const char*, va_list))
{ {
av_log_callback = callback; av_log_callback = callback;
......
...@@ -322,6 +322,7 @@ void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl, ...@@ -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 #define AV_LOG_SKIP_REPEATED 1
void av_log_set_flags(int arg); void av_log_set_flags(int arg);
int av_log_get_flags(void);
/** /**
* @} * @}
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
*/ */
#define LIBAVUTIL_VERSION_MAJOR 52 #define LIBAVUTIL_VERSION_MAJOR 52
#define LIBAVUTIL_VERSION_MINOR 75 #define LIBAVUTIL_VERSION_MINOR 76
#define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment