Permalink
Browse files

Fixed an invalid reference to this for pausing a video stream.

  • Loading branch information...
1 parent 11db468 commit fd25b58e435bfcadbc76e905267afd771a0c3649 Jeremy Raadt committed Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/opencv.js
View
@@ -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)
}

0 comments on commit fd25b58

Please sign in to comment.