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

Wolfgang Rohdewald wolfgang at rohdewald.de
Thu Jun 30 17:40:48 CEST 2005

On Donnerstag 30 Juni 2005 16:53, Klaus Schmidinger wrote:
> IIRC we already had this discussion some time ago.
> The point is that you're not supposed to call any of the skin
> functions from a thread. These functions are only supposed to be called
> by VDR itself.

how else can a plugin display a message or ask a question? since 
cInterface::Confirm() also calls Skins.Message(), I suppose Confirm()
is also illegal for plugins?

this is how muggle has always been doing this:

#if VDRVERSNUM >= 10307
        Skins.Message (mtInfo, buffer,duration);
        Skins.Flush ();
        Interface->Status (buffer);
        Interface->Flush ();


    if (!Interface->Confirm(tr("Import items?")))
            return false;


More information about the vdr mailing list