Commit f584894d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MKV: increase debug on attachment management to fix the cover art bug

parent 1e378378
...@@ -995,6 +995,8 @@ void matroska_segment_c::ParseAttachments( KaxAttachments *attachments ) ...@@ -995,6 +995,8 @@ void matroska_segment_c::ParseAttachments( KaxAttachments *attachments )
GetChild<KaxMimeType>( *attachedFile ), GetChild<KaxMimeType>( *attachedFile ),
img_data.GetSize() ); img_data.GetSize() );
msg_Dbg( &sys.demuxer, "| | - %s (%s)", new_attachment->fileName(), new_attachment->mimeType() );
if( new_attachment->init() ) if( new_attachment->init() )
{ {
memcpy( new_attachment->p_data, img_data.GetBuffer(), img_data.GetSize() ); memcpy( new_attachment->p_data, img_data.GetBuffer(), img_data.GetSize() );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment