Skip to content

Commit

Permalink
Having the Eds::StartLiveView command sent in the thread was freezing…
Browse files Browse the repository at this point in the history
… the app (Tested w/ Canon SDK 2.14 and EOS Rebel T5i firmware 1.1.3).
  • Loading branch information
smallfly committed Jun 19, 2014
1 parent 67afb21 commit eb3d93e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ofxEdsdk.cpp
Expand Up @@ -286,12 +286,12 @@ namespace ofxEdsdk {
}

void Camera::resetLiveView() {
lock();
if(connected) {
Eds::StartLiveview(camera);
lock();
lastResetTime = ofGetElapsedTimef();
unlock();
}
unlock();
}

void Camera::threadedFunction() {
Expand Down

0 comments on commit eb3d93e

Please sign in to comment.