Commit e8321af9 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

qtdemux: improve debug logging of fourccs

If we can't show ASCII, at least show them
in big endian order.
parent f41d03cd
......@@ -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'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment