diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-11-25 15:47:23 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-11-25 15:47:23 +0100 |
commit | 4dab236690034aaee497336bf52d51ba06f71b18 (patch) | |
tree | 2d828c6df3dc8f972d5f2c2775ed97b46aed735d | |
parent | 51d0e1c7b4a4340a691fbcf0f0b4378519c6d21f (diff) |
Default to 25 fps for frame seeking if framerate information isn't known
-rw-r--r-- | app/javascript/flavours/glitch/features/video/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js index 7e8996af4..92dcaf473 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 () { |