- Posts: 19
- Joined: Tue Mar 03, 2020 4:17 pm
- Real Name: Tom Saplonsky
Hi Tom,
The motivation for using EventHandler in StillsCSharp is to move the processing of IDeckLinkVideoConversion and Bitmap.Save out of DeckLinkInputCallback.VideoInputFrameArrived callback context and into its own invoked method.
You can move this processing back into the callback. Take care however, you should be conscious of the processing time in the callback. If this time is on average longer than the frame rate period, then you will eventually see dropped frames as the input video frame buffer allocator becomes exhausted due to queued frames.
Regards
Cameron