From 7ac73e40dbac773c52a3949efbc016f9c700a9da Mon Sep 17 00:00:00 2001 From: Serial <69764315+Serial-ATA@users.noreply.github.com> Date: Mon, 4 Apr 2022 20:49:09 -0400 Subject: [PATCH] Attempt to get `PictureInformation` during `Tag` -> `VorbisComments` conversion --- src/ogg/tag.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ogg/tag.rs b/src/ogg/tag.rs index cb665246..82a28074 100644 --- a/src/ogg/tag.rs +++ b/src/ogg/tag.rs @@ -347,7 +347,7 @@ pub(crate) fn create_vorbis_comments_ref( let pictures = tag .pictures .iter() - .map(|p| (p, PictureInformation::default())); + .map(|p| (p, PictureInformation::from_picture(p).unwrap_or_default())); (vendor, items, pictures) }