[Libva] Multiple time Create Destroy failing

Yuan, Shengquan shengquan.yuan at gmail.com
Wed Nov 18 18:42:13 PST 2009


On Wed, Nov 18, 2009 at 4:41 PM, Sambhav <isambhav at gmail.com> wrote:
> Hi,
>
> I am trying to do the following sequence of libva calls multiple times for
> H264 decoding.
>
>     - CreateConfig,
>     - CreateSurfaces (1 surfaces)
>     - CreateContext,
>
>      - CreateBuffer -VASliceDataBufferType - Failing 2nd time - Segmentaion
> fault
>      - DestroyBuffer - VASliceDataBufferType,
>
libVA semantics is that application doesn't need vaDestroyBuffer,
always call vaCreateBuffer when need a VA buffer.
But if above sequence gets a  segfault, it indicates there is a bug in driver.
>      - DestroyContext,
>      - DestroySurfaces,
>      - DestroyConfig,
>
>
> It is failing for the second time in CreateBuffer (VASliceDataBufferType)
> call.
> Has anyone seen such a problem ?
> Is this a known issue ?
>
> ---------------------------------
> Details of the Setup
> ----------------------------------
> Board            - NANO-8044-1600
> Platform        -  Atom Z530 + Poulsbo US15W
> IEGDVersion -  10.2.1447
> Libva Version -  Rev. 0.29
> OS                - Ubuntu 8.04
>
> Regards,
> Sambhav
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva
>
>


More information about the Libva mailing list