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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortue46wsdgxfjrt <jfbvxt@gmail.com>2014-02-28 04:36:09 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-04-26 21:27:33 +0400
commit669a09fb372fa58ff913ebc326cb64bb3e8e7928 (patch)
tree4cbf5270cc4ef7ae2b95fddbeef18c7231198686 /libavutil/log.h
parent262ea965e73eca0012b06bb06f80e7d7f54f05b6 (diff)
Add AV_LOG_PRINT_LEVEL flag to include log severity in default log formatting.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/log.h')
-rw-r--r--libavutil/log.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavutil/log.h b/libavutil/log.h
index d56d8436d2..a6a07e0653 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -321,6 +321,15 @@ void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl,
* call av_log(NULL, AV_LOG_QUIET, "%s", ""); at the end
*/
#define AV_LOG_SKIP_REPEATED 1
+
+/**
+ * Include the log severity in messages originating from codecs.
+ *
+ * Results in messages such as:
+ * [rawvideo @ 0xDEADBEEF] [error] encode did not produce valid pts
+ */
+#define AV_LOG_PRINT_LEVEL 2
+
void av_log_set_flags(int arg);
int av_log_get_flags(void);