解决偶发的漏最后一行字幕的BUG
This commit is contained in:
parent
04636d4a08
commit
fa70b15322
|
@ -50,6 +50,7 @@ namespace N_m3u8DL_RE.Common.Entity
|
||||||
if (!text.Trim().StartsWith("WEBVTT"))
|
if (!text.Trim().StartsWith("WEBVTT"))
|
||||||
throw new Exception("Bad vtt!");
|
throw new Exception("Bad vtt!");
|
||||||
|
|
||||||
|
text += Environment.NewLine;
|
||||||
|
|
||||||
var webSub = new WebVttSub();
|
var webSub = new WebVttSub();
|
||||||
var needPayload = false;
|
var needPayload = false;
|
||||||
|
|
Loading…
Reference in New Issue