info: GstDateTime does not have a GType as first field

GstDateTime does not have the GType as the first field so we can't use
it to detect its type.
This commit is contained in:
Wim Taymans 2014-06-03 14:46:11 +02:00
parent e457739ac9
commit 460be3e124

View 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));
}