Skip to content
Snippets Groups Projects
Commit 5c3bb220 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Add stereovideo callback code

parent 2a2f6b0c
No related branches found
No related tags found
1 merge request!94Implements #134 source groups
Pipeline #12888 passed
...@@ -205,6 +205,9 @@ bool StereoVideoSource::compute(int n, int b) { ...@@ -205,6 +205,9 @@ bool StereoVideoSource::compute(int n, int b) {
left_.download(rgb_, stream_); left_.download(rgb_, stream_);
stream_.waitForCompletion(); // TODO:(Nick) Move to getFrames stream_.waitForCompletion(); // TODO:(Nick) Move to getFrames
} }
auto cb = host_->callback();
if (cb) cb(timestamp_, rgb_, depth_);
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment