From 6e6ed7401b9bf982c1dc65aed24f7f1afbc2272d Mon Sep 17 00:00:00 2001 From: scott Date: Mon, 10 Jul 2017 18:20:11 -0700 Subject: [PATCH] fixing linux build --- include/linux/X11FrameProcessor.h | 3 +-- src/Internal/SCCommon.cpp | 1 - src/linux/X11FrameProcessor.cpp | 6 ++---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/include/linux/X11FrameProcessor.h b/include/linux/X11FrameProcessor.h index 48a5322a..b279ce5e 100644 --- a/include/linux/X11FrameProcessor.h +++ b/include/linux/X11FrameProcessor.h @@ -26,9 +26,8 @@ namespace SL { X11FrameProcessor(); ~X11FrameProcessor(); DUPL_RETURN Init(std::shared_ptr data, Monitor& monitor); - DUPL_RETURN ProcessFrame(); + DUPL_RETURN ProcessFrame(const Monitor& currentmonitorinfo); }; - } } \ No newline at end of file diff --git a/src/Internal/SCCommon.cpp b/src/Internal/SCCommon.cpp index 9cbef90a..8d1e34c9 100644 --- a/src/Internal/SCCommon.cpp +++ b/src/Internal/SCCommon.cpp @@ -23,7 +23,6 @@ namespace Screen_Capture { std::vector GetDifs(const Image& oldimg, const Image& newimg) { - auto start = std::chrono::steady_clock::now(); std::vector rects; if (Width(oldimg) != Width(newimg) || Height(oldimg) != Height(newimg)) { rects.push_back(Rect(newimg)); diff --git a/src/linux/X11FrameProcessor.cpp b/src/linux/X11FrameProcessor.cpp index 08c7e426..67494720 100644 --- a/src/linux/X11FrameProcessor.cpp +++ b/src/linux/X11FrameProcessor.cpp @@ -56,10 +56,8 @@ namespace Screen_Capture return ret; } - // - // Process a given frame and its metadata - // - DUPL_RETURN X11FrameProcessor::ProcessFrame() + + DUPL_RETURN X11FrameProcessor::ProcessFrame(const Monitor& currentmonitorinfo) { auto Ret = DUPL_RETURN_SUCCESS; ImageRect ret;