From a738f46b132f148c39c4a722aae6a5b1487f62a3 Mon Sep 17 00:00:00 2001 From: Vladyslav Usenko Date: Mon, 3 Jun 2019 15:44:59 +0200 Subject: [PATCH] fix webp saving on xenial --- src/rs_t265_record.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rs_t265_record.cpp b/src/rs_t265_record.cpp index c63a6f2..15e0423 100644 --- a/src/rs_t265_record.cpp +++ b/src/rs_t265_record.cpp @@ -68,7 +68,7 @@ void image_save_worker() { while (!stop_workers) { if (image_save_queue.try_pop(img)) { -#if CV_VERSION_MAJOR >= 3 +#if CV_MAJOR_VERSION >= 3 std::string filename = dataset_folder + "mav0/cam" + std::to_string(img->cam_id) + "/data/" + std::to_string(img->timestamp) + ".webp";