[vdr] Problem with transfer mode, xine plugin and ActualDevice

Luca Olivetti luca at ventoso.org
Wed Nov 2 01:17:55 CET 2005


En/na Reinhard Nissl ha escrit:
> 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.

Well, juggling around the instructions (i.e., calling the
cControl::Shutdown() after the Skins.Message or after the
SetPrimaryDevice, having previously removed the call to
cControl::Shutdown() in MakePrimaryDevice) sometimes it works, sometimes
it doesn't, so it's most probably a timing issue. If so there's no easy
way out. I can live with this problem, it seems ActualDevice it's only
used by some plugins (e.g. femon).

Bye
-- 
- Yo también quiero una Europa libre de Patentes de Software  -
- I want a Software Patents Free Europe too! And you?         -
---------------------------------------------------------------
  EuropeSwPatentFree - http://EuropeSwPatentFree.hispalinux.es

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20051102/fffc0095/signature.pgp


More information about the vdr mailing list