Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
yaman23 committed Apr 1, 2019
1 parent ad5c07e commit 90000b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/linux/backend-v4l2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,10 @@ namespace librealsense
if((buf.bytesused < buffer->get_full_length() - MAX_META_DATA_SIZE) &&
buf.bytesused > 0)
{
// On the NVIDIA Jetson TX1/2, high frame rates can return incomplete frames.
// Just return instead of issuing error.
return;

auto percentage = (100 * buf.bytesused) / buffer->get_full_length();
std::stringstream s;
s << "Incomplete video frame detected!\nSize " << buf.bytesused
Expand Down

0 comments on commit 90000b1

Please sign in to comment.