Re: [libav-devel] [PATCH] movenc: change AV_LOG_INFO to AV_LOG_WARNING for some warnings
On Tue, Aug 16, 2011 at 07:00:42AM +0200, Anton Khirnov wrote: > --- > libavformat/movenc.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel
Re: [libav-devel] [PATCH] movenc: change AV_LOG_INFO to AV_LOG_WARNING for some warnings
On Tue, Aug 16, 2011 at 07:00:42AM +0200, Anton Khirnov wrote: > --- > libavformat/movenc.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > index 185d89f..0395910 100644 > --- a/libavformat/movenc.c > +++ b/libavformat/movenc.c > @@ -711,7 +711,7 @@ static int mov_get_codec_tag(AVFormatContext *s, MOVTrack > *track) > if (!tag) { // if no mac fcc found, try with Microsoft tags > tag = ff_codec_get_tag(ff_codec_bmp_tags, > track->enc->codec_id); > if (tag) > -av_log(s, AV_LOG_INFO, "Warning, using MS style video > codec tag, " > +av_log(s, AV_LOG_WARNING, "Using MS style video codec > tag, " > "the file may be unplayable!\n"); > } > } else if (track->enc->codec_type == AVMEDIA_TYPE_AUDIO) { > @@ -720,7 +720,7 @@ static int mov_get_codec_tag(AVFormatContext *s, MOVTrack > *track) > int ms_tag = ff_codec_get_tag(ff_codec_wav_tags, > track->enc->codec_id); > if (ms_tag) { > tag = MKTAG('m', 's', ((ms_tag >> 8) & 0xff), (ms_tag & > 0xff)); > -av_log(s, AV_LOG_INFO, "Warning, using MS style audio > codec tag, " > +av_log(s, AV_LOG_WARNING, "Using MS style audio codec > tag, " > "the file may be unplayable!\n"); > } > } > -- lgtm ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel
[libav-devel] [PATCH] movenc: change AV_LOG_INFO to AV_LOG_WARNING for some warnings
--- libavformat/movenc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 185d89f..0395910 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -711,7 +711,7 @@ static int mov_get_codec_tag(AVFormatContext *s, MOVTrack *track) if (!tag) { // if no mac fcc found, try with Microsoft tags tag = ff_codec_get_tag(ff_codec_bmp_tags, track->enc->codec_id); if (tag) -av_log(s, AV_LOG_INFO, "Warning, using MS style video codec tag, " +av_log(s, AV_LOG_WARNING, "Using MS style video codec tag, " "the file may be unplayable!\n"); } } else if (track->enc->codec_type == AVMEDIA_TYPE_AUDIO) { @@ -720,7 +720,7 @@ static int mov_get_codec_tag(AVFormatContext *s, MOVTrack *track) int ms_tag = ff_codec_get_tag(ff_codec_wav_tags, track->enc->codec_id); if (ms_tag) { tag = MKTAG('m', 's', ((ms_tag >> 8) & 0xff), (ms_tag & 0xff)); -av_log(s, AV_LOG_INFO, "Warning, using MS style audio codec tag, " +av_log(s, AV_LOG_WARNING, "Using MS style audio codec tag, " "the file may be unplayable!\n"); } } -- 1.7.5.4 ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel