[vlc-devel] [PATCH 4/5] mmal: Reduce buffer count to 30
Julian Scheel
julian at jusst.de
Wed Jun 3 09:54:36 CEST 2015
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>
---
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;
--
2.4.0
More information about the vlc-devel
mailing list