mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(video): Close video device after checking V4L video modes
Fix #6346
This commit is contained in:
parent
65ff532a54
commit
9688a1e82f
|
@ -177,6 +177,7 @@ QVector<VideoMode> v4l2::getDeviceModes(QString devName)
|
|||
}
|
||||
}
|
||||
|
||||
close(fd);
|
||||
return modes;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user