From e19ff735be0e2c4b606b466e8c6115d5caa7b3e7 Mon Sep 17 00:00:00 2001 From: orz12 Date: Fri, 1 Mar 2024 22:42:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AD=97=E5=B9=95=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E4=B8=BAint=E6=97=B6=E5=87=BA=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/http/video.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http/video.dart b/lib/http/video.dart index 44d2b3c1..6ff65fe4 100644 --- a/lib/http/video.dart +++ b/lib/http/video.dart @@ -520,7 +520,7 @@ class VideoHttp { } List> subtitlesVtt = []; - String subtitleTimecode(double seconds) { + String subtitleTimecode(num seconds) { int h = (seconds / 3600).floor(); int m = ((seconds % 3600) / 60).floor(); int s = (seconds % 60).floor();