mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
The duration is not the end ;)
This commit is contained in:
parent
9a9029c27b
commit
dce6b8c2ea
@ -243,8 +243,8 @@ usf_reader_c::start_cb(const char *name,
|
||||
entry.m_end = parse_timecode(atts[i + 1]);
|
||||
else if (!strcmp(atts[i], "duration"))
|
||||
duration = parse_timecode(atts[i + 1]);
|
||||
if (-1 == entry.m_end)
|
||||
entry.m_end = duration;
|
||||
if ((-1 == entry.m_end) && (-1 != entry.m_start) && (-1 != duration))
|
||||
entry.m_end = entry.m_start + duration;
|
||||
m_copy_buffer = "";
|
||||
m_copy_depth = 1;
|
||||
m_strip = true;
|
||||
|
Loading…
Reference in New Issue
Block a user