[vlc-devel] [PATCH] avcodec: tell the vout not to peek in the decoder pool anymore when closing
robux4 at gmail.com
Wed Dec 20 21:58:14 CET 2017
No it's an issue with the whole design of the VA. The module is
unconditionally unloaded from memory even though it might still have
pictures with a context for destruction pointing to dead code. Luckily most
of the time it doesn't bite because the vout is kept longer for reuse.
It does bite when the driver has pending actions.
On Wed 20 Dec 2017 at 19:13, Rémi Denis-Courmont <remi at remlab.net> wrote:
> 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.
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel