忘记改啥了

This commit is contained in:
zhangpeng
2025-06-25 18:10:46 +08:00
parent 4415269f51
commit fa5a44bcbf
3 changed files with 65 additions and 2 deletions

View File

@@ -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;