[vlc-devel] [PATCH] DXVA2: lock the buffer pool when getting/releasing a buffer (v4)

Steve Lhomme robux4 at videolabs.io
Wed Apr 22 15:50:23 CEST 2015


There's a lock/unlock() in Release(). What other piece of code are you
referring to ?

On Wed, Apr 22, 2015 at 3:47 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-04-22 16:39, Steve Lhomme a écrit :
>>
>> Accesses to surface->refcount need to be thread-safe otherwise picking
>> the right buffer in Get() is not safe.
>
>
> Repeating: The patch fixes Get() but leaves Release() broken.
>
>
> --
> Rémi Denis-Courmont
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list