]> git.sesse.net Git - vlc/commit
mmal/vout: Make display() synchronous
authorJulian Scheel <julian@jusst.de>
Mon, 19 Jan 2015 10:30:32 +0000 (11:30 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 20 Jan 2015 06:06:32 +0000 (08:06 +0200)
commitcd6b82f8df3f9e80a8fdba2860bc6c9cdbbba2a0
treea148ad2f88d4bbd5418b51990b73b9a1bb78a35e
parentdbef00f8726fa8e0e7225e7fa6efd6363bfec37b
mmal/vout: Make display() synchronous

Ensure that the pictures which are rendered by display() are released before
display() returns. This is required to ensure that on stop all pictures are
released and the core can safely cleanup the pool. Without this the core
might detect pictures as leaks and free them on its own. Once this happens
we're running straight into a double free.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/hw/mmal/vout.c