vlc | branch: master | Julian Scheel <[email protected]> | 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 <[email protected]>
Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to