You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've taken a look at your code and it seems like everything should work fine, so I am not sure what the issue may be.
My guess would be that there is an issue creating the obs_video_info object. I am not familiar with Java or the JNA library that you are using, but I'm guessing it may be related to JNA not correctly handling the initialization of the object.
From what I can tell, it looks like you are initializing the object correctly; output_height, output_width, fps_den, and fps_num should be non-zero values. Could you maybe try to print out the properties of the object before calling obs_reset_video to double check if its valid?
@lulzsun
I am currently porting this bad boy over to Java and encountering the error above.
Any help would be really appreciated!
Log:
Show code
The text was updated successfully, but these errors were encountered: