[vdr] Problem with transfer mode, xine plugin and ActualDevice
Reinhard Nissl
rnissl at gmx.de
Wed Nov 2 01:02:10 CET 2005
Hi,
Luca Olivetti wrote:
>>>So the revised patch (see attachment) should work now as expected, isn't
>>>it?
>>
>>I'm really puzzled (since now the plugin is doing exactly the same as
>>vdr) but it doesn't :-(
>
> Could it be that OnClientConnect is asyncrhonous wrt the main vdr thread
> and SetPrimaryDevice should be called only from the main thread (so that
> if it works or not is basically random?).
Well yes, this could be a problem. OnClientConnect() is driven by an own
thread in xineLib.c.
Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de
More information about the vdr
mailing list