[Libva] vaPutSurface threading issue

Sambhav isambhav at gmail.com
Tue Feb 23 05:43:34 PST 2010


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 <
gbeauchesne at splitted-desktop.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20100223/bb7c4a5e/attachment.html>


More information about the Libva mailing list