demux_mkv: Some cleanup, fix duration printed at verbose level
commite177fc3e8be6ab572f53da21135018fcee340c74
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 13 Mar 2009 01:26:32 +0000 (13 03:26 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Sat, 21 Mar 2009 03:37:43 +0000 (21 05:37 +0200)
tree0a23a8b1bb649611ab37e907dfce8720882eb6c1
parentebcb5a7154af539d0b0fb869e0a70c66bbd6eda1
demux_mkv: Some cleanup, fix duration printed at verbose level

Clean up demux_mkv_read_info() and demux_mkv_read_chapters() somewhat.
(Why do the names of static functions have a stupid prefix like that?
Didn't remove it now however).

Demux_mkv_read_info() now delays printing duration information until
the end of the function where we hopefully have the correct timescale
for converting it to seconds. The code to calculate the duration had
been fixed for that earlier but the message had not.
libmpdemux/demux_mkv.c