[FFmpeg-cvslog] avutil/log: add av_log_get_flags()

Michael Niedermayer git at videolan.org
Sat Apr 12 20:35:54 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Mar 20 03:53:22 2014 +0100| [4f698be8f65d554b79e8cf7dac53236b3c15a611] | committer: Michael Niedermayer

avutil/log: add av_log_get_flags()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4f698be8f65d554b79e8cf7dac53236b3c15a611
---

 doc/APIchanges      |    3 +++
 libavutil/log.c     |    5 +++++
 libavutil/log.h     |    1 +
 libavutil/version.h |    2 +-
 4 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index 37b9ef8..a53647f 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -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.
diff --git a/libavutil/log.c b/libavutil/log.c
index 8b8f54b..cf4d990 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -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;
diff --git a/libavutil/log.h b/libavutil/log.h
index 665c651..d56d843 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -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);
 
 /**
  * @}
diff --git a/libavutil/version.h b/libavutil/version.h
index bffa69e..d1813a5 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -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, \



More information about the ffmpeg-cvslog mailing list