[FFmpeg-devel] [PATCH] change of deprecated log to debug level
Michael Niedermayer
michael at niedermayer.cc
Fri Sep 22 01:45:44 EEST 2017
On Thu, Sep 21, 2017 at 10:55:14PM +0200, Thomas Hartwig wrote:
> The problem is this warning is flooding the console with deprecated
> warnings for every decoded frame. However decoding works well. This
> is an issue with an Axis camera H264 stream received via rtsp for
> instance. There are several complaints about it in the WEB for years
> now and I could not find a real solution for the underlying problem.
> It looks like vendors are not changing their encoding easily. ;-)
>
>
> ---
> libswscale/utils.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libswscale/utils.c b/libswscale/utils.c
> index dcab70..af4aa1 100644
> --- a/libswscale/utils.c
> +++ b/libswscale/utils.c
> @@ -1182,7 +1182,7 @@ av_cold int sws_init_context(SwsContext *c,
> SwsFilter *srcFilter,
> c->dstRange |= handle_jpeg(&c->dstFormat);
>
> if(srcFormat!=c->srcFormat || dstFormat!=c->dstFormat)
> - av_log(c, AV_LOG_WARNING, "deprecated pixel format used,
> make sure you did set range correctly\n");
> + av_log(c, AV_LOG_DEBUG, "deprecated pixel format used,
> make sure you did set range correctly\n");
This patch is corruped by new lines
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- 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/20170922/037121f1/attachment.sig>
More information about the ffmpeg-devel
mailing list