Re: [FFmpeg-devel] [PATCH] matroskadec: export cover art correctly

2015-04-03 Thread Michael Niedermayer
On Fri, Apr 03, 2015 at 04:11:53PM +0200, wm4 wrote: > Generally, libavformat exports cover art pictures as video streams with > 1 packet and AV_DISPOSITION_ATTACHED_PIC set. Only matroskadec exported > it as attachment with codec_id set to AV_CODEC_ID_MJPEG. > > Obviously, this should be consiste

[FFmpeg-devel] [PATCH] matroskadec: export cover art correctly

2015-04-03 Thread wm4
Generally, libavformat exports cover art pictures as video streams with 1 packet and AV_DISPOSITION_ATTACHED_PIC set. Only matroskadec exported it as attachment with codec_id set to AV_CODEC_ID_MJPEG. Obviously, this should be consistent, so change the Matroska demuxer to export a AV_DISPOSITION_A