structure: Fix compilation
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 17 May 2011 09:22:58 +0000 (11:22 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 17 May 2011 09:22:58 +0000 (11:22 +0200)
gst/gststructure.c

index ba7e057..7b910ba 100644 (file)
@@ -2976,7 +2976,8 @@ gst_structure_is_equal (const GstStructure * structure1,
   if (structure1->name != structure2->name) {
     return FALSE;
   }
-  if (structure1->fields->len != structure2->fields->len) {
+  if (GST_STRUCTURE_FIELDS (structure1)->len !=
+      GST_STRUCTURE_FIELDS (structure2)->len) {
     return FALSE;
   }