From 460be3e124f3f576d8e056166ebf7ba472808471 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 3 Jun 2014 14:46:11 +0200 Subject: [PATCH] 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. --- gst/gstinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 3b1db65..3b2c34e 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -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)); } -- 2.7.4