[grilo] core: Do not add unknown childcount



commit e21a4dedc948733d5b95979cfc9a26a308f1ae8e
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Wed Mar 30 08:24:55 2011 +0000

    core: Do not add unknown childcount
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/data/grl-media-box.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/data/grl-media-box.c b/src/data/grl-media-box.c
index 7879c7f..f8f4af7 100644
--- a/src/data/grl-media-box.c
+++ b/src/data/grl-media-box.c
@@ -119,10 +119,6 @@ grl_media_box_set_childcount (GrlMediaBox *box,
     grl_data_set_int (GRL_DATA (box),
                       GRL_METADATA_KEY_CHILDCOUNT,
                       childcount);
-  } else {
-    grl_data_set (GRL_DATA (box),
-                  GRL_METADATA_KEY_CHILDCOUNT,
-                  NULL);
   }
 }
 



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