MediaPlayer crashes at opening mp3 with cover art
|Reported by:||miqlas||Owned by:||leavengood|
|Has a Patch:||no||Platform:||All|
No other ffmpeg based media player crashes with the same file, not even ffplay, so this is a bug in MediaPlayer.
Probably happens since the switch from ffmpeg 0.1x. Unlike ffmpeg 0.1, the current ffmpeg 4.x provides the cover art as video stream, but MediaPlayer can't handle it well, and mostly just crashes. After stripping the cover art like
ffmpeg -i tagged.mp3 -vn -codec:a copy -map_metadata -1 out.mp3
no crash happens, so it is definetely the cover art what triggers the bug.
I will attach a debug report about a crash happens reproduceably, 100%. If needed i can provide the file too.
ffmpeg devs said the bug could be somewhere in _HandleNewVideoFrameAndUpdateSystemState