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

Michael Niedermayer michaelni
Thu Apr 22 21:01:52 CEST 2010


On Thu, Apr 22, 2010 at 02:14:32PM +0200, James Darnley wrote:
> If you can't query the background colour, then I am going to assume it
> is black.  If your terminal isn't then you need to fix it.  This is
> looking more and more like a Windows only feature.
> 
> Yuvi suggested that I not set the bg and that I use 1 instead.  For
> him this sets bold, for me it sets bright colours.  So then there
> could be a terminal which has a white bg but then sets bright colours.
> 
> Anyway, you guys thought it was ugly before...

your patch is ugly still :)

anyway, ive implemented it for ANSI now, feel free to extend it with
windows support, make it configureable through environment vars or
config files (if people want this), or anything else.
what id like to keep though is having it enabled by default.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100422/ab6d1a18/attachment.pgp>



More information about the ffmpeg-devel mailing list