MCPcopy Create free account
hub / github.com/audacity/audacity / GetMetadata

Method GetMetadata

modules/import-export/mod-ffmpeg/ImportFFmpeg.cpp:701–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699}
700
701void FFmpegImportFileHandle::GetMetadata(Tags &tags, const wxChar *tag, const char *name)
702{
703 auto metadata = mAVFormatContext->GetMetadata();
704
705 if (metadata.HasValue(name, DICT_IGNORE_SUFFIX))
706 tags.SetTag(tag, wxString::FromUTF8(std::string(metadata.Get(name, {}, DICT_IGNORE_SUFFIX))));
707}
708
709
710FFmpegImportFileHandle::~FFmpegImportFileHandle()

Callers 3

InitCodecsMethod · 0.80
SetMetadataMethod · 0.80
InitCodecsMethod · 0.80

Calls 3

SetTagMethod · 0.80
HasValueMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected