[vdr] [PATCH] fix segfault in cSkins::Message

Luca Olivetti luca at ventoso.org
Sun Nov 27 19:44:12 CET 2005


En/na Klaus Schmidinger ha escrit:
> 
> Well, after a weekend of consideration I decided to implement
> a function that can be used by background threads to queue a
> message for display (the thread can even wait for user input)
> in VDR 1.3.37. Since a plugin's MainMenuFunction can
> now (since VDR 1.3.32) be launched programmatically, a plugin that
> wants to do more than just display a message can always launch
> itself and interact with the user in the foreground.

It isn't working really well for my use case (dish position): while the
dish is moving I'm trying to call QueueMessage either with Seconds=0 and
Seconds=-1. Timeout is -1 (so that vdr should display the message no
matter what). Instead of a steady message with the position updating in
real time I just see a flash with the (same) position for a couple of
messages, then the message disappears to show a new one with a new position.

> 
> I've abandoned the idea of implementing something like cPlugin::Popup()
> because it would only make things very complicated.

this one would have worked :-(

Bye
-- 
- Yo también quiero una Europa libre de Patentes de Software  -
- I want a Software Patents Free Europe too! And you?         -
---------------------------------------------------------------
  EuropeSwPatentFree - http://EuropeSwPatentFree.hispalinux.es

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20051127/1e61e4a5/signature.pgp


More information about the vdr mailing list