summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-01-31 11:22:23 +0100
committerEdward Hervey <bilboed@bilboed.com>2018-01-31 11:23:07 +0100
commit40be9f4f851189bdb353cff50a31fe64d7dee04c (patch)
treeb25a6cd702104f2eeb478c2bfa81e77b861e4a0e
parent3cf73a66fe6d292eba135c605f04e62cbd7c3711 (diff)
qtdemux: Re-enable full debug logging of stsz entries
No idea why it was disabled (was the case since 2007)
-rw-r--r--gst/isomp4/qtdemux_dump.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/isomp4/qtdemux_dump.c b/gst/isomp4/qtdemux_dump.c
index 57e0bc6d9..629515e0c 100644
--- a/gst/isomp4/qtdemux_dump.c
+++ b/gst/isomp4/qtdemux_dump.c
@@ -456,7 +456,7 @@ qtdemux_dump_stsc (GstQTDemux * qtdemux, GstByteReader * data, int depth)
gboolean
qtdemux_dump_stsz (GstQTDemux * qtdemux, GstByteReader * data, int depth)
{
- guint32 ver_flags = 0, sample_size = 0, num_entries = 0;
+ guint32 ver_flags = 0, sample_size = 0, num_entries = 0, i;
if (!gst_byte_reader_get_uint32_be (data, &ver_flags) ||
!gst_byte_reader_get_uint32_be (data, &sample_size))
@@ -470,13 +470,11 @@ qtdemux_dump_stsz (GstQTDemux * qtdemux, GstByteReader * data, int depth)
return FALSE;
GST_LOG ("%*s n entries: %d", depth, "", num_entries);
-#if 0
if (!qt_atom_parser_has_chunks (data, num_entries, 4))
return FALSE;
for (i = 0; i < num_entries; i++) {
GST_LOG ("%*s sample size: %u", depth, "", GET_UINT32 (data));
}
-#endif
}
return TRUE;
}