mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-29 08:31:54 -05:00
Instead of trying to open devices /dev/video<0-63> check /dev for all /dev/videoX devices that are existent in the tree. This allows finding devices with higher names than 63. E.g. /dev/video100 can now be found and opened which previously failed. _GNU_SOURCE #define is introduced for versionsort() which is a GNU extension. Fixes #4347.