info: GstDateTime does not have a GType as first field
authorWim Taymans <wtaymans@redhat.com>
Tue, 3 Jun 2014 12:46:11 +0000 (14:46 +0200)
committerWim Taymans <wtaymans@redhat.com>
Tue, 3 Jun 2014 12:46:11 +0000 (14:46 +0200)
GstDateTime does not have the GType as the first field so we can't use
it to detect its type.

gst/gstinfo.c

index 3b1db65..3b2c34e 100644 (file)
@@ -687,9 +687,12 @@ gst_debug_print_object (gpointer ptr)
     else
       return str;
   }
+#if 0
+  /* FIXME, datetime does not have a type as first field */
   if (*(GType *) ptr == GST_TYPE_DATE_TIME) {
     return __gst_date_time_serialize ((GstDateTime *) ptr, TRUE);
   }
+#endif
   if (GST_IS_BUFFER (ptr)) {
     return gst_info_describe_buffer (GST_BUFFER_CAST (ptr));
   }