MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / FfmpegParseMetaData

Function FfmpegParseMetaData

src/decoder/plugins/FfmpegDecoderPlugin.cxx:352–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352static void
353FfmpegParseMetaData(AVDictionary &dict,
354 ReplayGainInfo &rg, MixRampInfo &mr) noexcept
355{
356 AVDictionaryEntry *i = nullptr;
357
358 while ((i = av_dict_get(&dict, "", i,
359 AV_DICT_IGNORE_SUFFIX)) != nullptr) {
360 const char *name = i->key;
361 const char *value = i->value;
362
363 if (!ParseReplayGainTag(rg, name, value))
364 ParseMixRampTag(mr, name, value);
365 }
366}
367
368static void
369FfmpegParseMetaData(const AVStream &stream,

Callers 1

FfmpegDecodeFunction · 0.85

Calls 6

ParseReplayGainTagFunction · 0.85
ParseMixRampTagFunction · 0.85
IsDefinedMethod · 0.80
ClearMethod · 0.45
SubmitReplayGainMethod · 0.45
SubmitMixRampMethod · 0.45

Tested by

no test coverage detected