mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Fixed an invalid reference to this for pausing a video stream.
This commit is contained in:
parent
11db468dcf
commit
fd25b58e43
@ -130,7 +130,7 @@ videostream.read = function(){
|
|||||||
var frame = function(){
|
var frame = function(){
|
||||||
self.video.read(function(mat){
|
self.video.read(function(mat){
|
||||||
self.emit('data', mat)
|
self.emit('data', mat)
|
||||||
if (!this.paused){
|
if (!self.paused){
|
||||||
process.nextTick(frame)
|
process.nextTick(frame)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user