From 0eff8fd24de7e2c6a4bd80699160c1c4f7a263eb Mon Sep 17 00:00:00 2001 From: Bruno Date: Mon, 9 Aug 2021 10:08:32 +0200 Subject: [PATCH] Minor compilation warning fixed --- DialogToolkit.h | 2 +- FrameGrabber.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DialogToolkit.h b/DialogToolkit.h index baa3da0..102c052 100644 --- a/DialogToolkit.h +++ b/DialogToolkit.h @@ -73,7 +73,7 @@ class MultipleImagesDialog : public FileDialog std::vector< std::future< std::list > > promisedlist_; public: MultipleImagesDialog(const std::string &name) : FileDialog(name) {} - void open(); + void open() override; bool closed() override; inline std::list images() const { return pathlist_; } }; diff --git a/FrameGrabber.h b/FrameGrabber.h index aee3e4e..0901631 100644 --- a/FrameGrabber.h +++ b/FrameGrabber.h @@ -59,20 +59,20 @@ protected: std::atomic active_; std::atomic endofstream_; std::atomic accept_buffer_; + std::atomic buffering_full_; // gstreamer pipeline GstElement *pipeline_; GstAppSrc *src_; GstCaps *caps_; + GstClock *timer_; GstClockTime timestamp_; GstClockTime frame_duration_; guint64 frame_count_; guint64 buffering_size_; - std::atomic buffering_full_; GstClockTime timer_firstframe_; - GstClock *timer_; // gstreamer callbacks static void callback_need_data (GstAppSrc *, guint, gpointer user_data);