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

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

 



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/
--------------------------------------------------------



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux