Skip to content

Commit

Permalink
fixing linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
smasherprog committed Jul 11, 2017
1 parent a6addc3 commit 6e6ed74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions include/linux/X11FrameProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ namespace SL {
X11FrameProcessor();
~X11FrameProcessor();
DUPL_RETURN Init(std::shared_ptr<Thread_Data> data, Monitor& monitor);
DUPL_RETURN ProcessFrame();
DUPL_RETURN ProcessFrame(const Monitor& currentmonitorinfo);

};

}
}
1 change: 0 additions & 1 deletion src/Internal/SCCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ namespace Screen_Capture {

std::vector<ImageRect> GetDifs(const Image& oldimg, const Image& newimg)
{
auto start = std::chrono::steady_clock::now();
std::vector<ImageRect> rects;
if (Width(oldimg) != Width(newimg) || Height(oldimg) != Height(newimg)) {
rects.push_back(Rect(newimg));
Expand Down
6 changes: 2 additions & 4 deletions src/linux/X11FrameProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6e6ed74

Please sign in to comment.