Lines 240-246
flac_reader_c::handle_picture_metadata(FLAC__StreamMetadata const *metadata) {
Link Here
|
240 |
mxdebug_if(m_debug, fmt::format("flac_reader: MIME type: {0}\n", attachment->mime_type)); |
240 |
mxdebug_if(m_debug, fmt::format("flac_reader: MIME type: {0}\n", attachment->mime_type)); |
241 |
mxdebug_if(m_debug, fmt::format("flac_reader: data length: {0}\n", picture.data_length)); |
241 |
mxdebug_if(m_debug, fmt::format("flac_reader: data length: {0}\n", picture.data_length)); |
242 |
mxdebug_if(m_debug, fmt::format("flac_reader: ID: {0}\n", m_attachment_id)); |
242 |
mxdebug_if(m_debug, fmt::format("flac_reader: ID: {0}\n", m_attachment_id)); |
243 |
mxdebug_if(m_debug, fmt::format("flac_reader: mode: {0}\n", attach_mode)); |
243 |
mxdebug_if(m_debug, fmt::format("flac_reader: mode: {0}\n", static_cast<unsigned int>(attach_mode))); |
244 |
|
244 |
|
245 |
if (attachment->mime_type.empty() || attachment->name.empty()) |
245 |
if (attachment->mime_type.empty() || attachment->name.empty()) |
246 |
return; |
246 |
return; |
Lines 276-282
flac_reader_c::flac_metadata_cb(const FLAC__StreamMetadata *metadata) {
Link Here
|
276 |
: metadata->type == FLAC__METADATA_TYPE_VORBIS_COMMENT ? "VORBIS COMMENT" |
276 |
: metadata->type == FLAC__METADATA_TYPE_VORBIS_COMMENT ? "VORBIS COMMENT" |
277 |
: metadata->type == FLAC__METADATA_TYPE_CUESHEET ? "CUESHEET" |
277 |
: metadata->type == FLAC__METADATA_TYPE_CUESHEET ? "CUESHEET" |
278 |
: "UNDEFINED", |
278 |
: "UNDEFINED", |
279 |
metadata->type, metadata->length)); |
279 |
static_cast<unsigned int>(metadata->type), metadata->length)); |
280 |
break; |
280 |
break; |
281 |
} |
281 |
} |
282 |
} |
282 |
} |