Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThreadedCamera::open_stream type mismatch #43

Closed
nmthastings opened this issue Jun 14, 2022 · 1 comment
Closed

ThreadedCamera::open_stream type mismatch #43

nmthastings opened this issue Jun 14, 2022 · 1 comment

Comments

@nmthastings
Copy link

Ran across this type mismatch error when creating a callback function for ThreadedCamera::open_stream. Looks like it's requiring the ImageBuffer struct from the private image::buffer_ module as a callback parameter type rather than the public struct in image. I poked around in threaded.rs, but it looks like it's just importing the regular struct. Not sure wth is going on here. This is pretty much a direct copy of the Threaded example

image
image
image

@nmthastings
Copy link
Author

The laws of code prove themselves true once again. 10 minutes after I create an issue (which I held off on, fully tped out, for over an hour), I solve my own issue.

nokhwa currently uses image 0.23.14 according to my Cargo lockfile. I was using 0.24.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant