[grilo-plugins] Revert "dleyna: ChildCount is an int32, not a uint32"



commit d6aa2e8551992cf9eb64c925782b9e63e9f21564
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Thu Jul 17 15:56:32 2014 +0000

    Revert "dleyna: ChildCount is an int32, not a uint32"
    
    Actually the ChildCount type is uint32, but there was a bug in DLeyna Server
    code.
    
    This reverts commit 555e1f1a83cc986c83184b811440150371eced4f.

 src/dleyna/grl-dleyna-source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dleyna/grl-dleyna-source.c b/src/dleyna/grl-dleyna-source.c
index 1129678..10c35c9 100644
--- a/src/dleyna/grl-dleyna-source.c
+++ b/src/dleyna/grl-dleyna-source.c
@@ -524,7 +524,7 @@ media_set_property (GrlMedia *media,
     }
   }
   else if (g_strcmp0 (key, "ChildCount") == 0) {
-    gint32 count = g_variant_get_int32 (value);
+    guint32 count = g_variant_get_uint32 (value);
     if (GRL_IS_MEDIA_BOX (media)) {
       grl_media_box_set_childcount (GRL_MEDIA_BOX (media), count);
     }


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