qtdemux: Re-enable full debug logging of stsz entries

No idea why it was disabled (was the case since 2007)
This commit is contained in:
Edward Hervey 2018-01-31 11:22:23 +01:00 committed by Edward Hervey
parent 3cf73a66fe
commit 40be9f4f85

View file

@ -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;
}