]> git.sesse.net Git - vlc/commit
mmal: Restore old buffer configuration
authorJulian Scheel <julian@jusst.de>
Mon, 19 Jan 2015 10:30:29 +0000 (11:30 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 20 Jan 2015 06:06:32 +0000 (08:06 +0200)
commitf9b028aed85edcee2906c9a49121344bb3497f7e
tree5271e936aa8f0f8b4e17888620ad9ade12ac856d
parent39c2f78d1db052305785f583791caf2d772c7e3c
mmal: Restore old buffer configuration

With previours cleanups we reduced the number of allocated mmal buffers and
buffer headers. This caused some issues as the mmal components had to wait for
buffers frequently, which slowed them down. To avoid framedrops and even
picture stalls revert to the old buffer configuration, which wastes a bit
memory in theory but works way more reliably and smoothly.

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