summaryrefslogtreecommitdiff
path: root/gst/isomp4
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2014-08-09 20:47:30 +0100
committerTim-Philipp Müller <tim@centricular.com>2014-08-09 20:50:01 +0100
commite8321af98393c0414b8fb8731b6a739992014b40 (patch)
tree311d335ee1f5a2bb65c5dee7b1e8a48e4f08b275 /gst/isomp4
parentf41d03cd4d8b68847cdc02dde41322b987e107bb (diff)
qtdemux: improve debug logging of fourccs
If we can't show ASCII, at least show them in big endian order.
Diffstat (limited to 'gst/isomp4')
-rw-r--r--gst/isomp4/qtdemux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index b40db4b35..009685797 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -11094,7 +11094,7 @@ qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
const gchar *name;
gint endian = 0;
- GST_DEBUG_OBJECT (qtdemux, "resolve fourcc %08x", fourcc);
+ GST_DEBUG_OBJECT (qtdemux, "resolve fourcc 0x%08x", GUINT32_TO_BE (fourcc));
switch (fourcc) {
case GST_MAKE_FOURCC ('N', 'O', 'N', 'E'):
@@ -11385,7 +11385,7 @@ qtdemux_sub_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
{
GstCaps *caps;
- GST_DEBUG_OBJECT (qtdemux, "resolve fourcc %08x", fourcc);
+ GST_DEBUG_OBJECT (qtdemux, "resolve fourcc 0x%08x", GUINT32_TO_BE (fourcc));
switch (fourcc) {
case GST_MAKE_FOURCC ('m', 'p', '4', 's'):