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 committed by Tim-Philipp Müller
parent 0302d3924f
commit 8da13087f1

View file

@ -677,9 +677,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));
}