Skip to content

Commit

Permalink
disable ignoring of first two IR frames in corrupted frame handling
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed May 19, 2020
1 parent fe603e9 commit b6624f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/frame-validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,13 @@ namespace librealsense
//after the validation all streams will be passeded to user callback directly
if (stream->get_stream_type() != RS2_STREAM_INFRARED)
return false;
// TODO review the above statement and check with PLM

#if 0 // TODO WHY?
//start to validate only from the second frame
if(_ir_frame_num++ < 2)
return false;
#endif

auto w = vf->get_width();
auto h = vf->get_height();
Expand Down

0 comments on commit b6624f5

Please sign in to comment.