Skip to content

Commit

Permalink
[fix] interactive: fix crash when displaying last image
Browse files Browse the repository at this point in the history
  • Loading branch information
bgallois committed Oct 18, 2020
1 parent 4381503 commit 1a40286
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/videoreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ bool VideoReader::getNext(UMat &destination) {
if (destination.channels() >= 3) {
cvtColor(destination, destination, COLOR_BGR2GRAY);
}
m_index++;
return true;
}

Expand Down

0 comments on commit 1a40286

Please sign in to comment.