[vdr] [BUG with PATCH] graphlcd-0.1.2-pre5 does not show channel info after startup

Wolfgang Fritz wolfgang.fritz at gmx.net
Fri Mar 25 19:52:25 CET 2005

On my VDR (1.3.23), the graphlcd plugin does not show the channel name
and logo after startup. When switching to another channel, name and logo
are displayed correctly.

Reason: graphlcd's display thread is not yet active when VDR calls the
SetChannel() methods of all cStatus objects. Because graphlcd creates
its cStatus object (cGraphLCDState) in the display thread, it misses the
first SetChannel.


1. Move the plugin initialization from Start() to Initialize(). This
makes it quite sure that the display thread is running at the first

2. In Start(), wait until the display thread is really active. On my
system I have never seen a real wait here, but who knows...

Patch is attached. Testers and feedback welcome.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphlcd-initfix.diff
Type: text/x-patch
Size: 760 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20050325/b3158aab/graphlcd-initfix-0001.bin

More information about the vdr mailing list