demux_mkv: seek: with no track-specific index entries use any
commitfc66c94360b7326faa022d26fb7668437b4da0b1
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 8 Nov 2010 03:43:35 +0000 (8 05:43 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 8 Nov 2010 16:05:12 +0000 (8 18:05 +0200)
tree6d773a2ee7ce1cf3a98b7b3c1ba464b193b611a7
parent0619b75cb137128a692056d40ffed088f8730da2
demux_mkv: seek: with no track-specific index entries use any

The Cue entries in typical Matroska files have information for the
video track only. This caused seeks to fail when playing with
-novideo, as demux_mkv tried to use audio track index entries then.
Add a fallback case that uses any index entries without caring what
track they're for if there are no entries specific to the track we're
interested in.
libmpdemux/demux_mkv.c