X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Flog.h;h=a6a07e0653a0c7fe22d456339e5e3242cc1ccff8;hb=9c6eef6f5fcfaa67c0d9b01e44434e4c26538f96;hp=665c65144efdeca97558d844cfde53f2fb9366a3;hpb=c04961fa0ff63a87f07ba411f4f0a413a23ceea8;p=ffmpeg diff --git a/libavutil/log.h b/libavutil/log.h index 665c65144ef..a6a07e0653a 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -321,7 +321,17 @@ 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); /** * @}