fix webp saving on xenial

This commit is contained in:
Vladyslav Usenko 2019-06-03 15:44:59 +02:00
parent 71af908519
commit a738f46b13
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ void image_save_worker() {
while (!stop_workers) { while (!stop_workers) {
if (image_save_queue.try_pop(img)) { 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::string filename = dataset_folder + "mav0/cam" +
std::to_string(img->cam_id) + "/data/" + std::to_string(img->cam_id) + "/data/" +
std::to_string(img->timestamp) + ".webp"; std::to_string(img->timestamp) + ".webp";