mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
info: make printing datetimes work with GST_PTR_FORMAT
This commit is contained in:
parent
8998cf840d
commit
b65a7a7034
1 changed files with 0 additions and 3 deletions
|
@ -687,12 +687,9 @@ gst_debug_print_object (gpointer ptr)
|
||||||
else
|
else
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
/* FIXME, datetime does not have a type as first field */
|
|
||||||
if (*(GType *) ptr == GST_TYPE_DATE_TIME) {
|
if (*(GType *) ptr == GST_TYPE_DATE_TIME) {
|
||||||
return __gst_date_time_serialize ((GstDateTime *) ptr, TRUE);
|
return __gst_date_time_serialize ((GstDateTime *) ptr, TRUE);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
if (GST_IS_BUFFER (ptr)) {
|
if (GST_IS_BUFFER (ptr)) {
|
||||||
return gst_info_describe_buffer (GST_BUFFER_CAST (ptr));
|
return gst_info_describe_buffer (GST_BUFFER_CAST (ptr));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue