[vlc-commits] stream_filter: cache_block: fix comments

Francois Cartegnie git at videolan.org
Thu Jan 7 14:30:21 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jan  7 14:12:10 2016 +0100| [896387bbce6c945635914b2a5c940c4c621266aa] | committer: Francois Cartegnie

stream_filter: cache_block: fix comments

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

 modules/stream_filter/cache_block.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/stream_filter/cache_block.c b/modules/stream_filter/cache_block.c
index 3428614..dc31506 100644
--- a/modules/stream_filter/cache_block.c
+++ b/modules/stream_filter/cache_block.c
@@ -47,10 +47,10 @@
 
 /* How many tracks we have, currently only used for stream mode */
 #ifdef OPTIMIZE_MEMORY
-    /* Max size of our cache 128Ko per track */
+    /* Max size of our cache 128KiB per stream */
 #   define STREAM_CACHE_SIZE  (1024*128)
 #else
-    /* Max size of our cache 4Mo per track */
+    /* Max size of our cache 48MiB per stream */
 #   define STREAM_CACHE_SIZE  (4*12*1024*1024)
 #endif
 
@@ -61,7 +61,7 @@
 
 /* Method: Simple, for pf_block.
  *  We get blocks and put them in the linked list.
- *  We release blocks once the total size is bigger than CACHE_BLOCK_SIZE
+ *  We release blocks once the total size is bigger than STREAM_CACHE_SIZE
  */
 
 struct stream_sys_t



More information about the vlc-commits mailing list