Skip to content

Instantly share code, notes, and snippets.

@KRNKRS
Last active December 19, 2020 19:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KRNKRS/423a98ab7ea7dda00fb22e943dbc32b6 to your computer and use it in GitHub Desktop.
Save KRNKRS/423a98ab7ea7dda00fb22e943dbc32b6 to your computer and use it in GitHub Desktop.
void AFrameGrabberActor::ReleaseFrameGrabber() {
if (FrameGrabber.IsValid()) {
FrameGrabber->StopCapturingFrames();
FrameGrabber->Shutdown();
FrameGrabber.Reset();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment