File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 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) {
3333 Nan::SetPrototypeMethod (ctor, " setPosition" , SetPosition);
3434 Nan::SetPrototypeMethod (ctor, " getFrameAt" , GetFrameAt);
3535 Nan::SetPrototypeMethod (ctor, " getFrameCount" , GetFrameCount);
36- Nan::SetPrototypeMethod (ctor, " close " , Close );
36+ Nan::SetPrototypeMethod (ctor, " release " , Release );
3737 Nan::SetPrototypeMethod (ctor, " ReadSync" , ReadSync);
3838 Nan::SetPrototypeMethod (ctor, " grab" , Grab);
3939 Nan::SetPrototypeMethod (ctor, " retrieve" , Retrieve);
@@ -145,7 +145,7 @@ NAN_METHOD(VideoCaptureWrap::GetFrameAt) {
145145 return ;
146146}
147147
148- NAN_METHOD (VideoCaptureWrap::Close ) {
148+ NAN_METHOD (VideoCaptureWrap::Release ) {
149149 Nan::HandleScope scope;
150150 VideoCaptureWrap *v = Nan::ObjectWrap::Unwrap<VideoCaptureWrap>(info.This ());
151151
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ class VideoCaptureWrap: public Nan::ObjectWrap {
2727
2828 static NAN_METHOD (GetFrameAt);
2929
30- // close the stream
31- static NAN_METHOD (Close );
30+ // release the stream
31+ static NAN_METHOD (Release );
3232};
33-
You can’t perform that action at this time.
0 commit comments