[FFmpeg-devel] [PATCH] use av_log_level for x264 log

Loren Merritt lorenm
Thu Jul 12 06:39:13 CEST 2007


On Thu, 12 Jul 2007, Limin Wang wrote:

> It's annoying to see some debug info from x264 even -v 0, the
> patch try to use av_log_level to control x264 log also. I have
> tested, it's OK here, please review it.

If you don't agree that X264_LOG_INFO means the same as AV_LOG_INFO, then 
you could modify the mapping. But removing the mapping is just wrong. 
They're different defines from different headers, and the numbers involved 
are not guaranteed to have anything to do with eachother. This is not just 
theoretical; see libavutil/log.h for what will happen to the mapping at 
the next version increment.

--Loren Merritt




More information about the ffmpeg-devel mailing list