Skip to content

Commit

Permalink
fix a bug of crash in raw mode
Browse files Browse the repository at this point in the history
forgot to set isCaptureThreadRunning=true in raw capturing mode
  • Loading branch information
yuanxy92 committed Jan 15, 2018
1 parent baa1fe4 commit 9525eeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RealCameraDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ namespace cam {
for (size_t i = 0; i < this->cameraNum; i++) {
ths[i] = std::thread(&RealCamera::capture_thread_raw_, this, i);
}
isCaptureThreadRunning = true;
}
else if (this->bufferType == GenCamBufferType::JPEG) {
// start compress theads
Expand Down

1 comment on commit 9525eeb

@zhu-ty
Copy link
Collaborator

@zhu-ty zhu-ty commented on 9525eeb Jan 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

release 前排占坑

Please sign in to comment.