mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-28 22:05:03 +00:00
Fix timecodes in appended subtitle files
If subtitle files are appended to separate video files
(e.g. two AVI and two SRT files) then the subtitle timecodes of
the second and all following subtitle files were based on the last
timecode in the first subtitle file instead of the last timecode in
the first video file. Fix for bug 325.
This bug was introduced in c68a6dfc27
This commit is contained in:
parent
d6b09c0d4c
commit
06fa821050
@ -1,5 +1,11 @@
|
||||
2009-01-15 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: If subtitle files are appended to separate
|
||||
video files (e.g. two AVI and two SRT files) then the subtitle
|
||||
timecodes of the second and all following subtitle files were
|
||||
based on the last timecode in the first subtitle file instead of
|
||||
the last timecode in the first video file. Fix for bug 325.
|
||||
|
||||
* mkvmerge: bug fix: Due to uninitialized variables mkvmerge would
|
||||
report OGM files as having arbitrary display dimensions. Fix for
|
||||
bug 326.
|
||||
|
@ -1597,7 +1597,7 @@ append_track(packetizer_t &ptzr,
|
||||
// But then again I don't expect that people will try to concatenate such
|
||||
// files if they've been split before.
|
||||
int64_t timecode_adjustment = dst_file.reader->max_timecode_seen;
|
||||
if (APPEND_MODE_FILE_BASED == g_append_mode)
|
||||
if ((track_subtitle != ptzr.packetizer->get_track_type()) && (APPEND_MODE_FILE_BASED == g_append_mode))
|
||||
// Intentionally left empty.
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user