diff --git a/src/VideoCaptureWrap.cc b/src/VideoCaptureWrap.cc index ac0bfc3..8d7a71b 100644 --- a/src/VideoCaptureWrap.cc +++ b/src/VideoCaptureWrap.cc @@ -63,8 +63,7 @@ VideoCaptureWrap::GetFrame(const Arguments &args) { Local im_h = Image::constructor->GetFunction()->NewInstance(); Image *im = ObjectWrap::Unwrap(im_h); im->mat = frame; - printf("* %i * %i * %i : open %i", im->mat.empty(), frame.empty(), v->cap.get(CV_CAP_PROP_FPS), v->cap.isOpened()); return scope.Close(im_h); } - \ No newline at end of file + diff --git a/src/VideoCaptureWrap.h b/src/VideoCaptureWrap.h index 4b436cb..56a3514 100644 --- a/src/VideoCaptureWrap.h +++ b/src/VideoCaptureWrap.h @@ -8,7 +8,7 @@ class VideoCaptureWrap: public node::ObjectWrap { static void Init(Handle target); static Handle New(const Arguments &args); - VideoCaptureWrap(const string& filename); + VideoCaptureWrap(const std::string& filename); VideoCaptureWrap(int device); static Handle GetFrame(const v8::Arguments&);