Problem with transfer mode, xine plugin and ActualDevice

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

 



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

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux