fix: MAP
used the wrong SRT as the time data source
This commit is contained in:
parent
d1307762b4
commit
01e6f84f0b
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ class SRTMerger:
|
|||
def handle_map(self, text_source, text_start, time_start, count):
|
||||
time_source = text_source
|
||||
text_list = self.srt1 if text_source == 1 else self.srt2
|
||||
time_list = self.srt1 if time_source == 1 else self.srt2
|
||||
time_list = self.srt2 if time_source == 1 else self.srt1
|
||||
text_start_idx = text_start - 1
|
||||
time_start_idx = time_start - 1
|
||||
if (text_start_idx < 0 or text_start_idx + count > len(text_list) or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue