[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 17:08:56 CET 2017


Le keskiviikkona 20. joulukuuta 2017, 18.01.26 EET Rémi Denis-Courmont a 
écrit :
> Le keskiviikkona 20. joulukuuta 2017, 14.26.57 EET Steve Lhomme a écrit :
> > There's still the vout->p->displayed.current picture that may be owned by
> > the hardware acceleration that is still not released.
> 
> Nack. This is UB, completely counter-sensical how reference counting works.

Well, it´s not actually UB, it´s timing-dependent. But that is neither needed 
nor necessary to dereference the decoder pool. So still nack.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list