summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2014-06-03 14:46:11 +0200
committerTim-Philipp Müller <tim@centricular.com>2014-06-08 13:37:35 +0100
commit8da13087f1580e8c68755673f507c8c42834f28b (patch)
treeae0862c40ed110f487cbb01de064c3d473ad905a
parent0302d3924fe403902490c6de2ee4750323e83eaa (diff)
downloadgstreamer-8da13087f1580e8c68755673f507c8c42834f28b.tar.gz
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.
-rw-r--r--gst/gstinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/gstinfo.c b/gst/gstinfo.c
index 550121709e..0192d62bfc 100644
--- a/gst/gstinfo.c
+++ b/gst/gstinfo.c
@@ -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));
}