vladimirvivien / go4vl

A Go library for working with the Video for Linux API (V4L2).
MIT License
245 stars 45 forks source link

resource busy error while device.open() #47

Open dipshirajput opened 1 year ago

dipshirajput commented 1 year ago

Hi all, while using the code on this link , https://github.com/vladimirvivien/go4vl/blob/main/examples/capture0/capture0.go , I am facing resource busy error after some iterations at the instance where it tries to open the device. I am using the exact same code but in loop.

please let me know for any suggestions. Thanks in advance.

vladimirvivien commented 1 year ago

@dipshirajput Thank you for reaching out and apologies for the late reply. That error is usually returned if the device is being used by another process. Without additional detail, I would suggest the followings:

Let me know if that works or not.