#1050548 meterbridge: ppm and vu meter backgrounds not redrawn properly

Package:
meterbridge
Source:
meterbridge
Description:
Collection of Audio meters for the JACK audio server
Submitter:
Aaron Wyatt
Date:
2025-05-21 18:45:01 UTC
Severity:
normal
Tags:
#1050548#5
Date:
2023-08-26 04:28:05 UTC
From:
To:
Dear Maintainer,

After upgrading libsdl1.2debian to version 1.2.64-5 (which is now a
compatability wrapper for SDL 2.0) the meter background is not properly
redrawn between each render of the meter's needle for ppm and vu meters.

Copying the entirety of the image to the working buffer by passing NULL
as the source and destination rect to SDL_BlitSurface seems to fix the
issue. (Even though on the surface of things it looks like the
previously used buf_rect should be appropriately set.)

Cheers,
Aaron

#1050548#10
Date:
2023-08-26 05:03:49 UTC
From:
To:
Doing a little more testing, replacing SDL_BlitSurface with SDL_FillRect
fills the appropriate area defined by buf_rect with a solid colour and
wipes out all traces of the previous needle. So I suspect this is really
a bug with how the compatibility library is wrapping SDL_BlitSurface.
Maybe this is better fixed in libsdl1.2debian? (Although this patch does
act as a workaround in the meantime...)
Cheers,
Aaron

#1050548#15
Date:
2025-05-21 18:42:36 UTC
From:
To:
tags -1 pending

Thanks
Erich Eickmeyer