From 4dab236690034aaee497336bf52d51ba06f71b18 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 25 Nov 2020 15:47:23 +0100 Subject: [PATCH] Default to 25 fps for frame seeking if framerate information isn't known --- app/javascript/flavours/glitch/features/video/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js index 7e8996af4f..92dcaf473c 100644 --- a/app/javascript/flavours/glitch/features/video/index.js +++ b/app/javascript/flavours/glitch/features/video/index.js @@ -544,7 +544,7 @@ class Video extends React.PureComponent { return this.props.frameRate.split('/').reduce((p, c) => p / c); } - return this.props.frameRate; + return this.props.frameRate || 25; } render () {