解决当视频时长>60分钟后,弹幕的时间有误导致弹幕卡住的问题

croire 3 years ago
parent 4d2590605e
commit 35fa8d6cd5

@ -62,6 +62,7 @@ namespace DownKyi.Core.Danmaku2Ass
int second = (int)(i % 60.0f);
int hour = (int)Math.Floor(min / 60.0);
min = (int)Math.Floor(min % 60.0f);
return $"{hour:D}:{min:D2}:{second:D2}.{dec:D2}";
}

Loading…
Cancel
Save