MCPcopy Create free account
hub / github.com/codestation/qcma / getMetadataEntry

Method getMetadataEntry

common/avdecoder.cpp:92–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92const char *AVDecoder::getMetadataEntry(const char *key, const char *default_value)
93{
94 AVDictionaryEntry *entry;
95
96 if((entry = av_dict_get(pFormatCtx->metadata, key, NULL, 0)) != NULL) {
97 return entry->value;
98 }
99 return default_value;
100}
101
102void AVDecoder::getAudioMetadata(metadata_t &metadata)
103{

Callers 2

insertMusicEntryMethod · 0.80
insertVideoEntryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected