1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-31 06:29:57 +08:00

Update for requested change #11118

In case the first subtitle phrase starts at negative time, and the second subtitle phrase starts at 0.0 -- the first subtitle phrase would be skipped.  This fix/update prevents that.
This commit is contained in:
50csent
2017-12-29 22:03:35 +02:00
committed by GitHub
Unverified
parent bcb1c0a6ae
commit 9e198e794e
+1 -1
View File
@@ -176,7 +176,7 @@ class PluralsightIE(PluralsightBaseIE):
if start is None or text is None:
continue
end = duration if num == len(subs) - 1 else float_or_none(
dict_get(subs[num + 1], TIME_OFFSET_KEYS))
dict_get(subs[num + 1], TIME_OFFSET_KEYS, skip_false_values=False))
if end is None:
continue
srt += os.linesep.join(