Skip to content

Commit

Permalink
Replace 'updateFirst' option by update since updateFirst was removed …
Browse files Browse the repository at this point in the history
…from latest FFMPEG version.
  • Loading branch information
Zombitch committed May 25, 2018
1 parent 1e7e9fa commit e43cf6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/server-canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ io.on('connection', function(socket) {

app.get('/', function (req, res) {
res.sendFile(__dirname + '/index-canvas.html');
});
});
2 changes: 1 addition & 1 deletion lib/rtsp-ffmpeg.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ FFMpeg.prototype._args = function() {
//, '-vf', 'fps=25'
//, '-b:v', '32k'
'-f', 'image2'
, '-updatefirst', '1'
, '-update', '1'
, '-'
]
, this.resolution ? ['-s', this.resolution] : []);
Expand Down

0 comments on commit e43cf6d

Please sign in to comment.