Skip to content

Commit

Permalink
Fix missing timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Dec 24, 2024
1 parent 2ae3a9b commit 7d7a1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cscore/src/main/native/include/cscore_cv.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ inline CvSink::CvSink(const CvSink& sink)
inline uint64_t CvSink::GrabFrame(cv::Mat& image, double timeout,
uint64_t lastFrameTime) {
cv::Mat tmpnam;
auto retVal = GrabFrameDirect(tmpnam, lastFrameTime);
auto retVal = GrabFrameDirect(tmpnam, timeout, lastFrameTime);
if (retVal <= 0) {
return retVal;
}
Expand Down

0 comments on commit 7d7a1b6

Please sign in to comment.