From e5aab9a9b35f0752cd5ca50bfa25936dce4718c6 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Mon, 24 Jun 2024 20:48:38 +0200 Subject: [PATCH] fix(toDash): Fix image representations not being spec compliant (#672) --- src/utils/StreamingInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/StreamingInfo.ts b/src/utils/StreamingInfo.ts index db649ee30..9f1838a0e 100644 --- a/src/utils/StreamingInfo.ts +++ b/src/utils/StreamingInfo.ts @@ -706,7 +706,7 @@ function getImageRepresentation( thumbnail_width: board.thumbnail_width, rows: board.rows, columns: board.columns, - template_duration: template_duration, + template_duration: Math.round(template_duration), template_url: transform_url(template_url).toString(), getURL(n) { return template_url.toString().replace('$Number$', n.toString());