-
Notifications
You must be signed in to change notification settings - Fork 13
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
Unhandled attempt to divide by zero exception #50
Comments
I've been wanting to do this for a while: I started rewriting SeeShark from scratch. It won't depend on FFmpeg anymore, I'm just going to use the OS APIs directly. |
sick, thanks! can’t test right now as I am not near my machine but i’ll close this issue once i confirm it’s working :) |
If you're on Linux I'm sure it'll work, but I'm just in the process of rewriting the library, so it won't mean much if it works at this stage. xD I'd say I'm already as good as done for V4l2 on Linux, after just a few days of coding this, which is nice. |
this particular issue was on a Windows machine. but nevertheless looking forwards to the progress and i’ll keep my eye out for a prerelease/stable build of v5 then :D glhf |
Are you sure closing this is the right thing here? I was planning to keep it open until I finish writing SeeShark 5. |
Hi,
Getting a
System.DivideByZeroException
atwhich most likely is when the device returns a framerate of 0 (?). See https://github.com/Speykious/SeeShark/blob/cc4aa3b69053f08c92b77528ab95d326c91d7f72/SeeShark/Device/VideoDevice.cs#L88C12-L88C86.
The text was updated successfully, but these errors were encountered: