Yes there is pthread locks. After the current data is decoded completely the
display thread is called.
 Before vaPutSurface call , vaSyncSurface is called.

But when I am displaying the Surface[n], the decode thread will be using
Surface[n] as reference for decoding next frame.

Regards,
Sambhav
On Tue, Feb 23, 2010 at 6:53 PM, Gwenole Beauchesne <
[email protected]> wrote:

> Hi,
>
>
> On Tue, 23 Feb 2010, Sambhav wrote:
>
> In my application there are two threads.
>>  Thread 1: Does decoding
>>  Thread 2: Does display (i.e. vaPutSurface)
>>
>
> Are you locking your display? XInitThreads() + X locks or pthread locks.
>
> Regards,
> Gwenole.
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to