1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-03 14:32:16 +02:00
FFmpeg/libavformat
wm4 511585ce7f 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>
2015-04-04 02:25:56 +02:00
..
2014-12-18 00:10:35 +01:00
2015-04-02 04:52:59 +02:00
2015-04-02 04:52:59 +02:00
2015-03-27 18:29:46 +01:00
2015-03-06 21:35:00 +01:00
2015-02-26 02:06:10 +01:00
2015-03-26 03:10:27 +01:00
2015-04-02 04:52:59 +02:00
2015-01-30 09:33:49 +00:00
2015-03-21 23:18:15 +01:00
2014-12-18 23:27:07 +01:00
2015-02-15 18:20:54 +01:00
2015-03-21 23:18:14 +01:00
2014-12-20 00:17:43 +01:00
2014-10-21 03:52:27 +02:00
2015-01-18 00:36:56 +01:00
2015-03-31 04:34:32 +02:00
2015-02-01 20:00:10 +01:00
2014-10-22 23:12:38 +02:00
2015-03-27 18:29:46 +01:00
2015-03-27 18:29:46 +01:00
2015-01-11 00:35:01 +01:00
2015-01-11 00:35:01 +01:00
2015-04-01 18:25:34 +02:00