[FFmpeg-devel] [PATCH] add colours to warnings and errors

Vladimir Pantelic pan
Thu Apr 22 11:09:22 CEST 2010


David Conrad wrote:
> On Apr 22, 2010, at 4:47 AM, Vladimir Pantelic wrote:
>
>>  James Darnley wrote:
>>>  Here is a patch which tries to prevent some pebkac issues.  It prints
>>>  AV_LOG_ERROR in red and AV_LOG_WARNING in yellow.\
>
> What about AV_LOG_FATAL?
>
>>  while RED and YELLOW might look good on a dark background (yes I know,
>>  if I don't run my term in green on black I'm a useless n00b anyway)
>>  yellow might not come out well for "black on white" setups ...
>
> The current code adds a black background.
>
> As long as we're bikeshedding, I want it not to change the background, the entire line be in bold, and only the "[%s @ %p]" be colorized if present.

blink, slow or rapid? :)



More information about the ffmpeg-devel mailing list