[vlc-devel] [vlc-commits] vout: fix picture lock/unlock with private pool

Rémi Denis-Courmont remi at remlab.net
Mon Nov 3 18:20:07 CET 2014


Le lundi 03 novembre 2014, 18:37:49 Rémi Denis-Courmont a écrit :
> That said, it is questionable why the lock & unlock callbacks exist at all.
> The plugin could just as well unlock the picture in prepare() and lock it at
> the end of display().

In fact, that would be much better: it ensures that the picture is not 
returned to the pool until it is displayed. VDPAU already works that way.

I don´t know why Direct3D and DirectX use both manual locking and 
picture_Release.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list