[vlc-commits] commit: Taglib: add debug to help fixing mp4/cover bugs ( Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Mon May 31 01:06:45 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 31 01:06:22 2010 +0200| [77e3f0df4630447ffb9f9b0cb6d0ca821e499f0e] | committer: Jean-Baptiste Kempf
Taglib: add debug to help fixing mp4/cover bugs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=77e3f0df4630447ffb9f9b0cb6d0ca821e499f0e
---
modules/meta_engine/taglib.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index c94f527..91323d2 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -329,6 +329,9 @@ static void ReadMetaFromMP4( MP4::Tag* tag, demux_t *p_demux, demux_meta_t *p_de
MP4::CoverArtList list = tag->itemListMap()["covr"].toCoverArtList();
const char *psz_format = list[0].format() == MP4::CoverArt::PNG ? "image/png" : "image/jpeg";
+ msg_Dbg( p_demux_meta, "Found embedded art (%s) is %i bytes",
+ psz_format, list[0].data().size() );
+
TAB_INIT( p_demux_meta->i_attachments, p_demux_meta->attachments );
input_attachment_t *p_attachment =
vlc_input_attachment_New( "cover", psz_format, "cover",
More information about the vlc-commits
mailing list