[core 7/7] 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);
   }
 }
 
-- 
1.7.4



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