File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ void VideoCaptureWrap::Init(Local<Object> target) {
33
33
Nan::SetPrototypeMethod (ctor, " setPosition" , SetPosition);
34
34
Nan::SetPrototypeMethod (ctor, " getFrameAt" , GetFrameAt);
35
35
Nan::SetPrototypeMethod (ctor, " getFrameCount" , GetFrameCount);
36
- Nan::SetPrototypeMethod (ctor, " close " , Close );
36
+ Nan::SetPrototypeMethod (ctor, " release " , Release );
37
37
Nan::SetPrototypeMethod (ctor, " ReadSync" , ReadSync);
38
38
Nan::SetPrototypeMethod (ctor, " grab" , Grab);
39
39
Nan::SetPrototypeMethod (ctor, " retrieve" , Retrieve);
@@ -145,7 +145,7 @@ NAN_METHOD(VideoCaptureWrap::GetFrameAt) {
145
145
return ;
146
146
}
147
147
148
- NAN_METHOD (VideoCaptureWrap::Close ) {
148
+ NAN_METHOD (VideoCaptureWrap::Release ) {
149
149
Nan::HandleScope scope;
150
150
VideoCaptureWrap *v = Nan::ObjectWrap::Unwrap<VideoCaptureWrap>(info.This ());
151
151
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ class VideoCaptureWrap: public Nan::ObjectWrap {
27
27
28
28
static NAN_METHOD (GetFrameAt);
29
29
30
- // close the stream
31
- static NAN_METHOD (Close );
30
+ // release the stream
31
+ static NAN_METHOD (Release );
32
32
};
33
-
You can’t perform that action at this time.
0 commit comments