diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-07-04 11:26:43 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-07-04 22:11:27 +0100 |
commit | b3ad7b8654ee0166c86a53d19c3f8b7e0b4fd4ca (patch) | |
tree | 4c7c5dea4f255fa84ec373192f4dfbdfe5c43b06 /src/qcam/main_window.h | |
parent | b817bcec6b5377fef0717d39348a173b7157a91b (diff) |
qcam: Move static timestamp to MainWindow
The 'last' buffer timestamp is stored as a static. Rename the variable
to a more descritive 'lastBufferTime' and move it to the class instance.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r-- | src/qcam/main_window.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h index fe565cbc..345bdaae 100644 --- a/src/qcam/main_window.h +++ b/src/qcam/main_window.h @@ -48,6 +48,8 @@ private: bool isCapturing_; std::unique_ptr<CameraConfiguration> config_; + uint64_t lastBufferTime_; + ViewFinder *viewfinder_; }; |