From 71d5908a7ab8478ac245c5581a4c149fe430fb55 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Mon, 24 Jun 2024 17:55:31 +0200 Subject: [PATCH] fix(toDash): Fix image representations not being spec compliant --- 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 b2bb7c4a5..714f39bd9 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());