Skip to content

Commit

Permalink
Fixed an invalid reference to this for pausing a video stream.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Raadt committed Mar 13, 2013
1 parent 11db468 commit fd25b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opencv.js
Expand Up @@ -130,7 +130,7 @@ videostream.read = function(){
var frame = function(){
self.video.read(function(mat){
self.emit('data', mat)
if (!this.paused){
if (!self.paused){
process.nextTick(frame)
}

Expand Down

0 comments on commit fd25b58

Please sign in to comment.