[vdr] dvbsubtitle issue

Stefan Lucke stefan at lucke.in-berlin.de
Sat Jan 19 19:43:15 CET 2008


Quoting Klaus Schmidinger:

> On 01/19/08 18:47, Luca Olivetti wrote:
> > En/na Stefan Lucke ha escrit:
> >
> >> Excat :-(
> >>
> >> Stefan Lucke
> >
> > In case it could help you: the dxr3-plugin had a similar issue, the
> > solution was to clear the osd each time SetAreas is called.
> >
> >
> http://dxr3plugin.cvs.sourceforge.net/dxr3plugin/dxr3/dxr3osd_subpicture.c?r1=1.1.2.17&r2=1.1.2.18
>
> cDvbOsd also clears the OSD whenever SetAreas() is called:
>
> eOsdError cDvbOsd::SetAreas(const tArea *Areas, int NumAreas)
> {
>   if (shown) {
>      cBitmap *Bitmap;
>      for (int i = 0; (Bitmap = GetBitmap(i)) != NULL; i++) {
>          Cmd(OSD_SetWindow, 0, i + 1);
>          Cmd(OSD_Close);
>          }
>      shown = false;
>      }
>   return cOsd::SetAreas(Areas, NumAreas);
> }
>

Thats exact the missing method in SoftOsd.c which will do the clear.
Should have had a look at the list a few minutes earlier.

Thanks.


Stefan Lucke



More information about the vdr mailing list