Re-added block duration parsing, needed for subtitles. Got lost in the last update. Patch by Bruno Lecointre.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10685 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mosu 2003-08-23 22:51:10 +00:00
parent cfa19109e9
commit fb2af6ee84
1 changed files with 3 additions and 0 deletions

View File

@ -1925,6 +1925,9 @@ extern "C" int demux_mkv_fill_buffer(demuxer_t *d) {
true);
kbdur = FINDFIRST(l2, KaxBlockDuration);
if (kbdur != NULL)
block_duration = uint64(*kbdur);
kblock = FINDFIRST(l2, KaxBlock);
if (kblock != NULL)
kblock->SetParent(*mkv_d->cluster);