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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Fix:

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

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.

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

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux