Remove VideoWriterWrap

This commit is contained in:
Dan Schultzer 2017-09-16 13:02:47 -07:00
parent b7967c3293
commit b8169e009b
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,8 @@
#include <iostream>
#ifdef HAVE_OPENCV_VIDEOIO
Nan::Persistent<FunctionTemplate> VideoWriterWrap::constructor;
struct videowriter_baton {
@ -150,3 +152,4 @@ NAN_METHOD(VideoWriterWrap::WriteSync) {
info.GetReturnValue().Set(Nan::Null());
}
#endif

View File

@ -1,5 +1,7 @@
#include "OpenCV.h"
#ifdef HAVE_OPENCV_VIDEOIO
class VideoWriterWrap: public Nan::ObjectWrap {
public:
cv::VideoWriter writer;
@ -16,3 +18,5 @@ public:
// release the stream
static NAN_METHOD(Release);
};
#endif