[FFmpeg-devel] [RFC, PATCH]lavu/log: Do not change the terminal background colour

Michael Niedermayer michael at niedermayer.cc
Wed May 27 18:09:23 EEST 2020


On Sun, Mar 29, 2020 at 05:19:29PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #8587, not sure if we want this or not,
> but I do not consider the missing encircled / blinking effect (that is
> not used by our command line tools) an issue.
> 
> Please comment, Carl Eugen

> b14e07aba247cd696e0d9e3d718eb186f6cb555e  0001-lavu-log-Always-use-the-default-background-color.patch
> From 64eeec19197fe7726f3bb103417ae3277b1cd8f9 Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <ceffmpeg at gmail.com>
> Date: Sun, 29 Mar 2020 14:32:38 +0200
> Subject: [PATCH] lavu/log: Always use the default background color.
> 
> Fixes ticket #8587.
> ---
>  libavutil/log.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

I can confirm this fixes an issue with messed up background color in some
terminals (not all)
not sure if this fix is the best solution but i dont have a better
suggestion ATM either

[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200527/6620be86/attachment.sig>


More information about the ffmpeg-devel mailing list