[grilo] tools: don't tie chunk size to max item count in test-ui



commit 94914fa5b99bd692d36c9599a1cd64596c22ba0e
Author: Jussi Kukkonen <jku linux intel com>
Date:   Tue Jan 18 12:56:40 2011 +0200

    tools: don't tie chunk size to max item count in test-ui
    
    Make sure we get at least a few search/browse/query  iterations when
    there are lot of results: makes it easier to notice plugin problems.
    
    Signed-off-by: Iago Toral Quiroga <itoral igalia com>

 tools/grilo-test-ui/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index d0edd92..dbb72ef 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -75,8 +75,8 @@ GRL_LOG_DOMAIN_STATIC(test_ui_log_domain);
 #define METADATA_MIN_WIDTH  320
 #define METADATA_MIN_HEIGHT 400
 
-#define BROWSE_CHUNK_SIZE   100
-#define BROWSE_MAX_COUNT    (2 * BROWSE_CHUNK_SIZE)
+#define BROWSE_CHUNK_SIZE   50
+#define BROWSE_MAX_COUNT    200
 
 enum {
   OBJECT_TYPE_SOURCE = 0,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]