Skip to content

Commit

Permalink
Increase Timeout for first sample
Browse files Browse the repository at this point in the history
Sometimes in automation this example hits a timeout waiting for the first sample.
  • Loading branch information
wes-b authored Mar 20, 2020
1 parent 2477f54 commit ee6ba99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/transformation/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static int capture(std::string output_dir, uint8_t deviceId = K4A_DEVICE_DEFAULT
{
int returnCode = 1;
k4a_device_t device = NULL;
const int32_t TIMEOUT_IN_MS = 1000;
const int32_t TIMEOUT_IN_MS = 10000;
k4a_transformation_t transformation = NULL;
k4a_transformation_t transformation_color_downscaled = NULL;
k4a_capture_t capture = NULL;
Expand Down

0 comments on commit ee6ba99

Please sign in to comment.