demux_mkv: don't stop playback on non-Cluster elements
commit298808cddc40b66dde9578ec8abb71094357c3ce
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 25 Jan 2010 11:27:35 +0000 (25 13:27 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Wed, 27 Jan 2010 12:26:48 +0000 (27 14:26 +0200)
tree4201f7d7844faaad10dfea68ea60b0d2ab013d8e
parentd8a6af2980e7ecfee0a3e53896f4617d981ce56c
demux_mkv: don't stop playback on non-Cluster elements

The main demuxing code signaled EOF and stopped playback if it hit a
top-level element other than Cluster. There are files with other
elements between Cluster ones, at least repeated copies of Track
headers. Change the code to skip any non-Cluster element and only stop
searching on real file EOF.
libmpdemux/demux_mkv.c