[vlc-devel] [PATCH 2/9] avcodec: vdpau: allocate output pictures locally

Rémi Denis-Courmont remi at remlab.net
Sat Oct 19 14:52:45 CEST 2019

Le perjantaina 18. lokakuuta 2019, 18.11.07 EEST Steve Lhomme a écrit :
> The pictures are similar to the ones created in the OpenGL converter.
> !! There might be a lifecycle issue when releasing the decoder module and
> pictures are still "in-flight". We will need to keep the module and pool
> alive as long as pictures are alive, or keep the resources allocated tied
> to the video context so they are released together.

This does not look right. The pushed output surfaces are already allocated by 
the mixer since 77a80f40db4609b3ce7c12651680b755ff8d6680. They don't belong in 
the decoder, which has no use for output surfaces.


More information about the vlc-devel mailing list