Mailing List archive

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

[vdr] Re: OSD plugin



On Thursday 29 August 2002 17:13, Maxime GUILBOT wrote:
> Hi list,
> I'm writing a osd plugin for vdr, a prefer channel list. But I have
> problems to deal with osd.
> I'm using as described in klaus help :
>
> #include <vdr/osd.h>
>
> cOsdBase *MyOsd = cOsd::OpenRaw(x, y)
>
> but I have to do before : cOsd:Close(); to free the osd.

ehm, i'm not sure that this is really what you wan't do to, but it hard to 
tell without more information.

> Yes, because the osd is busy, I return a empty cOsdMenu to
> MainMenuAction in order to process keys.
> Is it the right way ?  I can't use cPlayer and cControl as the screen
> become black.
>
> So after OpenRaw(x,y):
> osd->Create(100, 100, 164, 164, 2, false);
> and
> osd->Flush();
>
> but after that, VDR crashes with a segmentation fault.
> I don't understand why, if someone could help me...

I think, it would be easier to help, if you would make your current code 
accessible somewhere.
(or join us on IRC, EFNet channel #LinuxDVB)

Andreas





Home | Main Index | Thread Index