changeset 10684:99eb26749a14

Re-added block duration parsing, needed for subtitles. Got lost in the last update. Patch by Bruno Lecointre.
author mosu
date Sat, 23 Aug 2003 22:51:10 +0000
parents aefe3c85ee19
children f54ffeb29447
files libmpdemux/demux_mkv.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.cpp	Fri Aug 22 22:18:08 2003 +0000
+++ b/libmpdemux/demux_mkv.cpp	Sat Aug 23 22:51:10 2003 +0000
@@ -1925,6 +1925,9 @@
                      true);
 
             kbdur = FINDFIRST(l2, KaxBlockDuration);
+            if (kbdur != NULL)
+              block_duration = uint64(*kbdur);
+
             kblock = FINDFIRST(l2, KaxBlock);
             if (kblock != NULL)
               kblock->SetParent(*mkv_d->cluster);