[vlc-devel] [PATCH] avcodec: tell the vout not to peek in the decoder pool anymore when closing

Rémi Denis-Courmont remi at remlab.net
Wed Dec 20 19:12:56 CET 2017

Le keskiviikkona 20. joulukuuta 2017, 18.49.58 EET Steve Lhomme a écrit :
> It's necessary to make sure the vout has no "active" decoder picture
> in use before killing the va. At least this is the case with DXVA2 as
> there might be some pending copies in the driver that our code has no
> idea about. But we release the DLL before this is done, resulting in
> crashes. It doesn't happen with D3D11 because we mostly use 0-copy and
> so the vout owns the buffers.

That sounds like a bug in your VA implementation.


More information about the vlc-devel mailing list