Skip to content

Commit 3997f3e

Browse files
committed
pring debug message of what we found vs what we requested
1 parent 2a17c84 commit 3997f3e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

IsoLib/t35_tool/extraction/DedicatedIt35Extractor.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,11 @@ static MP4Err findIt35MetadataTrack(MP4Movie moov,
117117
{
118118
filePrefix += ":";
119119
filePrefix += description;
120-
LOG_DEBUG("Found T35 identifier: {} with description: '{}'", hexStr, description);
121-
}
122-
else
123-
{
124-
LOG_DEBUG("Found T35 identifier: {} (no description)", hexStr);
125120
}
121+
122+
LOG_DEBUG("Parsed 'it35' sample entry: identifier={} ({} bytes), description='{}'",
123+
hexStr, identifierSize,
124+
(description && description[0] != '\0') ? description : "<empty>");
126125
free(description);
127126

128127
// Parse both prefixes to compare hex part only
@@ -135,7 +134,8 @@ static MP4Err findIt35MetadataTrack(MP4Movie moov,
135134
filePrefixParsed.hex(), requestedPrefix.hex());
136135
continue;
137136
}
138-
LOG_DEBUG("T35 hex matches requested hex");
137+
LOG_DEBUG("T35 hex '{}' matches requested hex '{}'",
138+
filePrefixParsed.hex(), requestedPrefix.hex());
139139

140140
if(!requestedPrefix.description().empty() && !filePrefixParsed.description().empty() &&
141141
requestedPrefix.description() != filePrefixParsed.description())

0 commit comments

Comments
 (0)