info: make printing datetimes work with GST_PTR_FORMAT
authorTim-Philipp Müller <tim@centricular.com>
Tue, 3 Jun 2014 22:42:45 +0000 (23:42 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 3 Jun 2014 22:49:26 +0000 (23:49 +0100)
gst/gstinfo.c

index 70aa29a..3f56686 100644 (file)
@@ -687,12 +687,9 @@ 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));
   }