realmedia: don't use GstStructure API on tag lists
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 26 May 2012 22:41:02 +0000 (23:41 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 26 May 2012 22:41:02 +0000 (23:41 +0100)
gst/realmedia/rmutils.c

index 9373bca..3232ee8 100644 (file)
@@ -115,7 +115,7 @@ gst_rm_utils_read_tags (const guint8 * data, guint datalen,
     g_free (str);
   }
 
-  if (gst_structure_n_fields ((GstStructure *) tags) > 0)
+  if (gst_tag_list_n_tags (tags) > 0)
     return tags;
 
   gst_tag_list_free (tags);