Skip to content

Commit

Permalink
Minor fix in variance demo app
Browse files Browse the repository at this point in the history
Summary: Just using the correct frame.

Reviewed By: enpe

Differential Revision:
D65226220

Privacy Context Container: L1191897

fbshipit-source-id: a6f802748e2f9e19751991b74387d9a43ba3d1e8
  • Loading branch information
janherling authored and facebook-github-bot committed Oct 30, 2024
1 parent e7130ec commit d0c2216
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void VarianceMainWindow::onFrame(const Frame& frame)
}

Frames separatedFrames;
if (!CV::FrameChannels::Comfort::separateTo1Channel(frame, separatedFrames, FrameType::FORMAT_Y8) || separatedFrames.size() != 3)
if (!CV::FrameChannels::Comfort::separateTo1Channel(yuvFrame, separatedFrames, FrameType::FORMAT_Y8) || separatedFrames.size() != 3)
{
ocean_assert(false && "This should never happen!");
return;
Expand Down

0 comments on commit d0c2216

Please sign in to comment.