MCPcopy Create free account
hub / github.com/IENT/YUView / parseMetadata

Method parseMetadata

YUViewLib/src/parser/AVFormat/ParserAVFormat.cpp:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void ParserAVFormat::parseMetadata(const StringPairVec &metadata)
116{
117 if (metadata.size() == 0 || !packetModel->rootItem)
118 return;
119
120 // Log all entries in the metadata list
121 auto metadataRoot = packetModel->rootItem->createChildItem("Metadata");
122 for (const auto &p : metadata)
123 metadataRoot->createChildItem(p.first, p.second);
124}
125
126bool ParserAVFormat::parseExtradata_generic(ByteVector &extradata)
127{

Callers 1

runParsingOfFileMethod · 0.95

Calls 2

createChildItemMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected