From f078d9fea5b249ec653cb3a9be759e6bc43e5bd3 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 15 Jun 2010 16:01:37 +0200 Subject: [PATCH] More debug information --- src/common/kax_file.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/kax_file.cpp b/src/common/kax_file.cpp index 15871a9f8..393437df9 100644 --- a/src/common/kax_file.cpp +++ b/src/common/kax_file.cpp @@ -161,6 +161,9 @@ kax_file_c::resync_to_level1_element_internal(uint32_t wanted_id) { uint32_t actual_id = m_in->read_uint32_be(); + if (m_debug_resync) + mxinfo(boost::format("kax_file::resync_to_level1_element(): starting at %1% potential ID %|2$08x|\n") % m_resync_start_pos % actual_id); + while (m_in->getFilePointer() < m_file_size) { actual_id = (actual_id << 8) | m_in->read_uint8();