summaryrefslogtreecommitdiff
path: root/src/KLV.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2007-09-26 18:31:20 +0000
committerjhurst <>2007-09-26 18:31:20 +0000
commitf457a7ea8fa446b71e7802a20f575ae5bcc9926b (patch)
tree4d73a3d347b1d351e859ece24721c6636fff568f /src/KLV.cpp
parentdeaf5cf9df866a1632a310ae4e5e774ae7aeca68 (diff)
stereoscopic JP2K writing
Diffstat (limited to 'src/KLV.cpp')
-rwxr-xr-xsrc/KLV.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/KLV.cpp b/src/KLV.cpp
index 0e7d783..21aae24 100755
--- a/src/KLV.cpp
+++ b/src/KLV.cpp
@@ -134,12 +134,12 @@ ASDCP::KLVPacket::Dump(FILE* stream, bool show_hex)
if ( m_KeyStart != 0 )
{
assert(m_ValueStart);
-
- for ( ui32_t i = 0; i < SMPTE_UL_LENGTH; i++ )
- fprintf(stream, "%02x.", m_KeyStart[i]);
+ UL TmpUL(m_KeyStart);
+ char buf[64];
+ fprintf(stream, "%s", TmpUL.EncodeString(buf, 64));
const MDDEntry* Entry = Dict::FindUL(m_KeyStart);
- fprintf(stream, "\b len: %7u (%s)\n", m_ValueLength, (Entry ? Entry->name : "Unknown"));
+ fprintf(stream, " len: %7u (%s)\n", m_ValueLength, (Entry ? Entry->name : "Unknown"));
if ( show_hex && m_ValueLength < 1000 )
Kumu::hexdump(m_ValueStart, Kumu::xmin(m_ValueLength, (ui32_t)64), stream);