[vlc-commits] mmal: Reduce buffer count to 30

Julian Scheel git at videolan.org
Fri Jun 5 15:39:17 CEST 2015


vlc | branch: master | Julian Scheel <julian at jusst.de> | Wed Jun  3 09:54:36 2015 +0200| [3146706d511df6dd82727c5448ee28428d9b6aef] | committer: Jean-Baptiste Kempf

mmal: Reduce buffer count to 30

Save some memory by allocating fewer buffers. This is still not optimal, but
close to where we can get with the current implementation.

Signed-off-by: Julian Scheel <julian at jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3146706d511df6dd82727c5448ee28428d9b6aef
---

 modules/hw/mmal/mmal_picture.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/mmal/mmal_picture.h b/modules/hw/mmal/mmal_picture.h
index d733f02..cbf8edb 100644
--- a/modules/hw/mmal/mmal_picture.h
+++ b/modules/hw/mmal/mmal_picture.h
@@ -28,7 +28,7 @@
 #include <interface/mmal/mmal.h>
 
 /* Think twice before changing this. Incorrect values cause havoc. */
-#define NUM_ACTUAL_OPAQUE_BUFFERS 40
+#define NUM_ACTUAL_OPAQUE_BUFFERS 30
 
 struct picture_sys_t {
     vlc_object_t *owner;



More information about the vlc-commits mailing list