demux_mkv: use generic packet handling code for subtitles
commit56504de6ff0e33e3d375acb15ea31af9c83e3cb0
authorUoti Urpala <uau@mplayer2.org>
Thu, 31 Mar 2011 00:06:21 +0000 (31 03:06 +0300)
committerUoti Urpala <uau@mplayer2.org>
Thu, 31 Mar 2011 00:44:37 +0000 (31 03:44 +0300)
treec62ddc826ff966a2c1201ee3f4b7b4d5e523472e
parent993bc6a83fbec9dc6241b5e6d6dd8bebd5347c18
demux_mkv: use generic packet handling code for subtitles

Duration may now be set for packet types other than subtitles; as far
as I can tell nothing should care. A check requiring valid duration
values for subtitles is removed, because duration may not be properly
set for all bitmap subtitle types; hopefully this doesn't make the
behavior with (already broken) subtitles without duration worse.
libmpdemux/demux_mkv.c