忘记改啥了
This commit is contained in:
@@ -13,7 +13,7 @@ static int v4l2_fd = -1;
|
||||
* 初始化V4L2虚拟设备
|
||||
*/
|
||||
bool init_v4l2_device(int width, int height) {
|
||||
v4l2_fd = open("/dev/video0", O_RDWR);
|
||||
v4l2_fd = open("/dev/video62", O_RDWR);
|
||||
if (v4l2_fd < 0) {
|
||||
fprintf(stderr, "Failed to open V4L2 device\n");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user