mxfdemux: printf format fixes for debug messages

This commit is contained in:
Tim-Philipp Müller 2012-12-12 18:50:09 +00:00
parent 796708b3e3
commit b0c30383ca

View File

@ -2063,8 +2063,8 @@ gst_mxf_demux_pull_klv_packet (GstMXFDemux * demux, guint64 offset, MXFUL * key,
goto beach; goto beach;
} }
GST_DEBUG_OBJECT (demux, "KLV packet with key %s has length %u", GST_DEBUG_OBJECT (demux, "KLV packet with key %s has length "
mxf_ul_to_string (key, str), length); "%" G_GUINT64_FORMAT, mxf_ul_to_string (key, str), length);
/* Pull the complete KLV packet */ /* Pull the complete KLV packet */
if ((ret = gst_mxf_demux_pull_range (demux, offset + data_offset, length, if ((ret = gst_mxf_demux_pull_range (demux, offset + data_offset, length,
@ -3049,8 +3049,8 @@ gst_mxf_demux_chain (GstPad * pad, GstObject * parent, GstBuffer * inbuf)
break; break;
} }
GST_DEBUG_OBJECT (demux, "KLV packet with key %s has length %u", GST_DEBUG_OBJECT (demux, "KLV packet with key %s has length "
mxf_ul_to_string (&key, str), length); "%" G_GUINT64_FORMAT, mxf_ul_to_string (&key, str), length);
if (gst_adapter_available (demux->adapter) < offset + length) if (gst_adapter_available (demux->adapter) < offset + length)
break; break;