[FFmpeg-devel] [PATCH] avformat/dump.c: fix mixed log levels
Michael Niedermayer
michael at niedermayer.cc
Thu May 12 16:00:00 CEST 2016
On Thu, May 12, 2016 at 10:26:03AM +0200, Tobias Rapp wrote:
> Previously a partial log message without newline was printed in case of
> loglevel=warning.
>
> Signed-off-by: Tobias Rapp <t.rapp at noa-archive.com>
> ---
> libavformat/dump.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/dump.c b/libavformat/dump.c
> index d6a3249..9eb6146 100644
> --- a/libavformat/dump.c
> +++ b/libavformat/dump.c
> @@ -422,7 +422,7 @@ static void dump_sidedata(void *ctx, AVStream *st, const char *indent)
> dump_mastering_display_metadata(ctx, &sd);
> break;
> default:
> - av_log(ctx, AV_LOG_WARNING,
> + av_log(ctx, AV_LOG_INFO,
this is ok if its wanted to change the log level
is that wanted ?
if not the \n would have to be printed with the max log level
that was used so its not missning
[..]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160512/e120df89/attachment.sig>
More information about the ffmpeg-devel
mailing list