|
@@ -23,11 +23,11 @@ public:
|
|
|
void work() override;
|
|
|
void set_record_path(const std::string& path) { record_path_ = path; }
|
|
|
void set_fps(int fps) { fps_ = fps; }
|
|
|
- void set_fourcc(cv::VideoWriter::fourcc) { fourcc_ = fourcc; }
|
|
|
+ void set_fourcc(int fourcc) { fourcc_ = fourcc; }
|
|
|
private:
|
|
|
std::string record_path_;
|
|
|
int fps_ = 25;
|
|
|
- cv::VideoWriter::fourcc_ = cv::VideoWriter::fourcc('M', 'J', 'P', 'G');
|
|
|
+ int fourcc_ = cv::VideoWriter::fourcc('M', 'J', 'P', 'G');
|
|
|
cv::VideoWriter writer_;
|
|
|
};
|
|
|
|