Mailing List archive

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

[vdr] Re: can the osd be accessed by a separate pthread?



Gunnar Roth <gunnar.roth@gmx.de> wrote:

> I use idnlog to display the current phone caller name and number on
> tv, by using svdrsend.pl
> I just did a test. i opened tetris and by accident, my sister in law 
> called on the phone.
> the reult was, that the tetris plugin was shattered, the message
> diplay line, was transparent black on top of the screen,
> insteas of beieng green and at the bottom. furthermore video and sound
> of the live a/v was heavily distorted.

i would say this is a bug in vdr, because it should not use the osd
while a plugin has opened it. i guess it just uses the osd pointer not
knowing that it is already in use.

> there should be some way to stop the games plgun from  using the osd, 
> while the main thread uses the osd.

vdr has the possibility to shutdown the plugin at any time, for example
the menu button does trigger this. 

> maybe the cStatus class can be used...

the osd should be shareable to some degree. why shouldn't tetris run
undesturbed while a message gets displayed. this may be really
compleacted to implement properly, though.

> i think  the core vdr should improve this in helping the plugins in
> some way, to not mix up the osd.

IMHO, in your test case it is the other way round. vdr messes up the
tetris plugins osd. :o)

regards ...
clemens


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index