1
0
mirror of synced 2024-11-16 11:03:50 +00:00

Fixed two typos

This commit is contained in:
Mark van Renswoude 2016-08-07 23:00:45 +02:00
parent 0cdeee314d
commit 3c9e4d6f4b
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ FFMPEGProcessor.prototype.run = function()
var command = new FfmpegCommand();
command
.input(this.cam.options.input)
.inputOptions(['-t ' + ceil(this.cam.options.time / 1000),
.inputOptions(['-t ' + Math.ceil(this.cam.options.time / 1000),
'-rtsp_transport tcp']);
if (typeof(this.cam.options.inputFormat) !== 'undefined')

View File

@ -26,7 +26,7 @@ HTTPFFMPEGProcessor.prototype.run = function()
camId: this.camId
});
this.tempFilename = filename + '.recording';
this.tempFilename = this.filename + '.recording';
var command = new FfmpegCommand();