puhitaku / mtplvcap

Nikon to USB Webcam. Supports older models that Nikon WU does not. Windows/macOS/Linux. No HDMI capture dongle is needed. Ask me on Twitter @puhitaku
https://twitter.com/puhitaku
Other
251 stars 17 forks source link

Return last recorded frame for snapshot endpoint #62

Closed scraton closed 2 years ago

scraton commented 2 years ago

As mentioned in #61, this change returns the last frame for the snapshot endpoint, allowing the program to return the last frame even if the camera is disabled.

It seems this data was already being stored, so just returning a copy of that was all that was necessary. The extra code removals here were done to clean up cruft that was no longer necessary.

scraton commented 2 years ago

Cool :+1: Changes applied, let me know if it looks up to par.

puhitaku commented 2 years ago

I've bumped and released version 1.6.0! Thank you for your contribution!