[PATCH] tools: don't tie chunk size to max item count in test-ui
- From: Jussi Kukkonen <jku linux intel com>
- To: grilo-list gnome org
- Subject: [PATCH] tools: don't tie chunk size to max item count in test-ui
- Date: Tue, 18 Jan 2011 12:56:40 +0200
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.
---
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,
--
1.7.2.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]