File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
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, " setHeight" , SetHeight);
3434 Nan::SetPrototypeMethod (ctor, " setPosition" , SetPosition);
3535 Nan::SetPrototypeMethod (ctor, " getFrameAt" , GetFrameAt);
36- Nan::SetPrototypeMethod (ctor, " nFrames " , NumFrames );
36+ Nan::SetPrototypeMethod (ctor, " getFrameCount " , GetFrameCount );
3737 Nan::SetPrototypeMethod (ctor, " close" , Close);
3838 Nan::SetPrototypeMethod (ctor, " ReadSync" , ReadSync);
3939 Nan::SetPrototypeMethod (ctor, " grab" , Grab);
@@ -95,7 +95,7 @@ NAN_METHOD(VideoCaptureWrap::SetWidth) {
9595 return ;
9696}
9797
98- NAN_METHOD (VideoCaptureWrap::NumFrames ) {
98+ NAN_METHOD (VideoCaptureWrap::GetFrameCount ) {
9999 Nan::HandleScope scope;
100100 VideoCaptureWrap *v = Nan::ObjectWrap::Unwrap<VideoCaptureWrap>(info.This ());
101101
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class VideoCaptureWrap: public Nan::ObjectWrap {
2323
2424 // to set frame position
2525 static NAN_METHOD (SetPosition);
26- static NAN_METHOD (NumFrames );
26+ static NAN_METHOD (GetFrameCount );
2727
2828 static NAN_METHOD (GetFrameAt);
2929
You can’t perform that action at this time.
0 commit comments