[aravis] Re: capture simultaneously from 2 cameras.

Le mercredi 18 janvier 2012 à 11:36 -0800, Luca Barbato a écrit :
> On 18/01/12 11:23, Luca Barbato wrote:
> Apparently everything works fine for few seconds
> 
> 0x3a95d80 108 Video pts 100, dts 100
> 0x3a96240 121 Video pts 107, dts 107

> Then one of the two cameras end up starving.
> 
> The whole thing seems to happen completely randomly, is aravis thread 
> unsafe?

The way Aravis is implemented, you must not use a given object instance
from different threads (If you want to be able to, you have to protect
it with a mutex).

        Emmanuel.



Other related posts: