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

Thomas Guillem thomas at gllm.fr
Mon Nov 3 19:01:15 CET 2014



On Mon, Nov 3, 2014, at 18:20, Rémi Denis-Courmont wrote:
> 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.

I agree, with my new mediacodec output thread, pictures were released
before being displayed.
I'll have a look.

> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list