mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Remove VideoWriterWrap
This commit is contained in:
parent
b7967c3293
commit
b8169e009b
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user