blackjack / webcam

Golang webcam library for Linux
MIT License
416 stars 92 forks source link

Fix FdSet bit set #35

Closed at-wat closed 4 years ago

at-wat commented 4 years ago

FD_SET() treated a bit width of each element as len(p.Bits) that is 16. As FdSet.Bits is [16]int64, the bit width must be 64. WaitForFrame had failed if opened file descriptors is larger than 16.

blackjack commented 4 years ago

Thank you very much!