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) {
33
33
Nan::SetPrototypeMethod (ctor, " setHeight" , SetHeight);
34
34
Nan::SetPrototypeMethod (ctor, " setPosition" , SetPosition);
35
35
Nan::SetPrototypeMethod (ctor, " getFrameAt" , GetFrameAt);
36
- Nan::SetPrototypeMethod (ctor, " nFrames " , NumFrames );
36
+ Nan::SetPrototypeMethod (ctor, " getFrameCount " , GetFrameCount );
37
37
Nan::SetPrototypeMethod (ctor, " close" , Close);
38
38
Nan::SetPrototypeMethod (ctor, " ReadSync" , ReadSync);
39
39
Nan::SetPrototypeMethod (ctor, " grab" , Grab);
@@ -95,7 +95,7 @@ NAN_METHOD(VideoCaptureWrap::SetWidth) {
95
95
return ;
96
96
}
97
97
98
- NAN_METHOD (VideoCaptureWrap::NumFrames ) {
98
+ NAN_METHOD (VideoCaptureWrap::GetFrameCount ) {
99
99
Nan::HandleScope scope;
100
100
VideoCaptureWrap *v = Nan::ObjectWrap::Unwrap<VideoCaptureWrap>(info.This ());
101
101
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class VideoCaptureWrap: public Nan::ObjectWrap {
23
23
24
24
// to set frame position
25
25
static NAN_METHOD (SetPosition);
26
- static NAN_METHOD (NumFrames );
26
+ static NAN_METHOD (GetFrameCount );
27
27
28
28
static NAN_METHOD (GetFrameAt);
29
29
You can’t perform that action at this time.
0 commit comments