Files
FFmpeg/libavformat
wm4 262c678357 matroskadec: export cover art correctly
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_ATTACHED_PIC pseudo video stream.

Matroska muxing is probably incorrect too. I know that it can create
broken files with an audio track and just 1 video frame when e.g.
remuxing mp3 with APIC to mkv. But for now this commit does not change
anything about muxing, and also continues to write attachments with
AV_CODEC_ID_MJPEG should the muxer application have special knowledge
that the Matroska is broken in this way.

Fixes trac #4423.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 511585ce7f)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-05-14 19:04:55 +02:00
..
2014-08-24 11:05:42 +00:00
2014-12-18 00:10:35 +01:00
2014-10-20 10:38:38 +01:00
2015-03-06 22:26:53 +01:00
2014-08-30 15:50:22 +00:00
2015-02-26 02:06:10 +01:00
2014-08-24 11:05:42 +00:00
2014-06-18 14:55:28 +02:00
2014-06-03 10:58:19 -08:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-07-03 15:46:26 +02:00
2014-07-13 19:18:31 +02:00
2014-07-13 19:18:31 +02:00
2014-08-15 22:47:45 +02:00
2015-03-04 23:48:41 +01:00
2015-01-30 09:33:49 +00:00
2015-02-17 12:16:43 -05:00
2014-12-18 23:27:07 +01:00
2015-02-15 18:20:54 +01:00
2014-08-24 11:05:42 +00:00
2014-12-20 00:17:43 +01:00
2015-02-21 23:37:24 +02:00
2014-10-21 03:52:27 +02:00
2015-01-18 00:36:56 +01:00
2015-02-04 13:10:53 +00:00
2015-02-01 20:00:10 +01:00
2014-09-30 20:21:14 +02:00
2014-10-22 23:12:38 +02:00
2015-01-11 00:35:01 +01:00
2015-01-11 00:35:01 +01:00
2014-08-24 11:05:42 +00:00