[grilo-mediaserver2] Use MAX_INT when childcount is unknown



commit 1fd8271ecf34e270650d5a274153018a7f90498e
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Mon Apr 30 16:53:18 2012 +0000

    Use MAX_INT when childcount is unknown

 src/grilo-mediaserver2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/grilo-mediaserver2.c b/src/grilo-mediaserver2.c
index 9184eba..9f25be8 100644
--- a/src/grilo-mediaserver2.c
+++ b/src/grilo-mediaserver2.c
@@ -353,7 +353,7 @@ fill_other_properties_table (MS2Server *server,
   if (GRL_IS_MEDIA_BOX (media)) {
     childcount = grl_media_box_get_childcount (GRL_MEDIA_BOX (media));
     if (childcount == GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN) {
-      childcount = limit;
+      childcount = G_MAXINT;
     }
   } else {
     childcount = 0;



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