Simplify --list-cameras ouptut

Remove --video-source=camera from the output of --list-cameras (this is
implicit).
This commit is contained in:
Romain Vimont 2023-11-05 11:51:32 +01:00
parent 4e4ddc499f
commit 36b17ee068

View File

@ -93,7 +93,7 @@ public final class LogUtils {
builder.append("\n (none)");
} else {
for (String id : cameraIds) {
builder.append("\n --video-source=camera --camera-id=").append(id);
builder.append("\n --camera-id=").append(id);
CameraCharacteristics characteristics = cameraManager.getCameraCharacteristics(id);
int facing = characteristics.get(CameraCharacteristics.LENS_FACING);