Re: dvbsubtitle issue

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

 



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

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux