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

Måns Rullgård mans
Thu Apr 22 12:30:37 CEST 2010


David Conrad <lessen42 at gmail.com> writes:

> 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?

Stab the user.

>> 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.

I hate apps doing that that almost as much as I hate those displaying
yellow on white.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list