qtdemux: use 0x prefix when logging numbers in hex

This commit is contained in:
Tim-Philipp Müller 2009-06-29 16:52:41 +01:00
parent f2ba1229ba
commit c730912f67

View file

@ -1371,7 +1371,7 @@ extract_initial_length_and_fourcc (guint8 * data, guint64 * plength,
guint32 fourcc;
length = QT_UINT32 (data);
GST_DEBUG ("length %08" G_GINT64_MODIFIER "x", length);
GST_DEBUG ("length 0x%08" G_GINT64_MODIFIER "x", length);
fourcc = QT_FOURCC (data + 4);
GST_DEBUG ("atom type %" GST_FOURCC_FORMAT, GST_FOURCC_ARGS (fourcc));
@ -1381,7 +1381,7 @@ extract_initial_length_and_fourcc (guint8 * data, guint64 * plength,
/* this means we have an extended size, which is the 64 bit value of
* the next 8 bytes */
length = QT_UINT64 (data + 8);
GST_DEBUG ("length %08llx", length);
GST_DEBUG ("length 0x%08" G_GINT64_MODIFIER "x", length);
}
if (plength)