From 555098cdba85e58baf85503d089ec967f8a4a704 Mon Sep 17 00:00:00 2001
From: Jan Grewe <jan.grewe@g-node.org>
Date: Tue, 12 Mar 2024 14:56:25 +0100
Subject: [PATCH] move VideoSpecs to util

---
 util.h   | 12 ++++++++++++
 writer.h | 12 ------------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/util.h b/util.h
index e6e3c15..facb50b 100644
--- a/util.h
+++ b/util.h
@@ -37,4 +37,16 @@ struct ImageSettings {
   Pylon::EImageOrientation orientation;
 };
 
+
+struct VideoSpecs {
+  std::string filename;
+  uint32_t width, height, quality = 10;
+  int fps;
+  double exposureTime;
+  double detectorGain;
+  Pylon::EPixelType pixelType;
+  Pylon::EImageOrientation orientation;
+  VideoFormat format = VideoFormat::raw;
+};
+
 #endif /*UTIL_H*/
\ No newline at end of file
diff --git a/writer.h b/writer.h
index 3c0f220..62db4bb 100644
--- a/writer.h
+++ b/writer.h
@@ -11,18 +11,6 @@
 #include "projectsettings.h"
 #include "util.h"
 
-struct VideoSpecs {
-  std::string filename;
-  uint32_t width, height, quality = 10;
-  uint32_t xoffset, yoffset = 0;
-  int fps;
-  double exposureTime;
-  double detectorGain;
-  Pylon::EPixelType pixelType;
-  Pylon::EImageOrientation orientation;
-  VideoFormat format = VideoFormat::raw;
-};
-
 class Writer : public QThread
 {
   Q_OBJECT