mmal/vout: Use fixed binding of mmal buffer to picture
Instead of dynamically allocating a mmal buffer from the mmal buffer pool use a fixed binding, where the same mmal buffer is used for the whole pictures lifecycle. This avoids some overhead on picture allocation and simplifies the code. As the mmal buffer pool is allocated in exactly the same size as the vlc picture pool there is no drawback doing it this way. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment