Heavy stutter with matroska

Description

(Sample from videolan ticket 8512)
I will upload a sample from a vlc bug report that plays very badly with ffplay since 98a7d56
Transcoding with ffmpeg works fine, prints many "DTS invalid, clipping" messages.