Simplify --list-cameras output

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 ccaa832f48
1 changed files with 1 additions and 1 deletions

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