From 11ea17238fa617f8952e8255f3cfc400c53bd413 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 16 Jun 2018 17:09:15 +0200 Subject: 25fps --- app/client/modules/pix2pix/views/pix2pix.live.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/client/modules') diff --git a/app/client/modules/pix2pix/views/pix2pix.live.js b/app/client/modules/pix2pix/views/pix2pix.live.js index 8c32d0c..9769109 100644 --- a/app/client/modules/pix2pix/views/pix2pix.live.js +++ b/app/client/modules/pix2pix/views/pix2pix.live.js @@ -129,7 +129,7 @@ class Pix2PixLive extends Component { this.props.opt.savingVideo ? 'Saving video...' : this.props.opt.recording - ? 'Recording (' + timeInSeconds(this.props.opt.recordFrames) +')' + ? 'Recording (' + timeInSeconds(this.props.opt.recordFrames/25) +')' : 'Record video' } onClick={this.toggleRecording} @@ -301,7 +301,7 @@ class Pix2PixLive extends Component { } } function timeInSeconds(n){ - return (n / 10).toFixed(1) + ' s.' + return n.toFixed(1) + ' s.' } const mapStateToProps = state => ({ last_message: state.live.last_message, -- cgit v1.2.3-70-g09d2