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

Disable the disable of depth pipeline for now

parent cc0a9261
No related branches found
No related tags found
1 merge request!316Resolves #343 GUI and Frame Refactor
Pipeline #28045 failed
......@@ -213,7 +213,7 @@ static void run(ftl::Configurable *root) {
if (sortedsel.size() > 1) encodable.emplace(sortedsel[1]);
// Do all processing in another thread... only if encoding of depth
if (encodable.find(Channel::Depth) != encodable.end()) {
//if (encodable.find(Channel::Depth) != encodable.end()) {
ftl::pool.push([sender,&stats_count,&latency,&frames,&stats_time,pipeline,&busy,fs](int id) {
// Do pipeline here...
pipeline->apply(*fs, *fs);
......@@ -239,11 +239,11 @@ static void run(ftl::Configurable *root) {
busy = false;
});
} else {
LOG(INFO) << "NOT DOING DEPTH";
sender->forceAvailable(*fs, Channel::Depth);
busy = false;
}
//} else {
//LOG(INFO) << "NOT DOING DEPTH";
// sender->forceAvailable(*fs, Channel::Depth);
// busy = false;
//}
// Lock colour right now to encode in parallel
fs->flush(ftl::codecs::Channel::Colour);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment