[linux-dvb] problems and workaround when tuning to a channel with DD enabled

Oliver Endriss o.endriss at gmx.de
Fri Jun 17 01:23:35 CEST 2005


Wolfgang Rohdewald wrote:
> On Donnerstag 16 Juni 2005 06:48, Oliver Endriss wrote:
> > Looks ok if OSDSetBlock is _never_ used by more than one thread at the
> > same time. Otherwise, some race conditions might occur.
> > 
> > Anyway, as the OSD interface has state variables like av7110->osdwin
> > it is not thread-safe 'by design'.
> 
> would something like this help:
> 
> have the first LoadBitmap return a uint identifier which
> must then be used by following LoadBitmap/BlitBitmap calls
> and the terminating ReleaseBitmap? Calls with a wrong
> identifier would be rejected with something like -EAGAIN

See my other post.

Imho there is no problem if the global variables 'osdwin' and 'osdbpp'
are not modified. Restarting a bitmap transfer should work fine, at
least with firmware 261e.

Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------




More information about the linux-dvb mailing list