[vdr] dvbsubtitle issue

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sat Jan 19 18:58:56 CET 2008


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);
}

Klaus



More information about the vdr mailing list