mirror of https://github.com/Genymobile/scrcpy
Simplify --list-cameras output
Remove --video-source=camera from the output of --list-cameras (this is implicit).
This commit is contained in:
parent
4e4ddc499f
commit
ccaa832f48
|
@ -93,7 +93,7 @@ public final class LogUtils {
|
||||||
builder.append("\n (none)");
|
builder.append("\n (none)");
|
||||||
} else {
|
} else {
|
||||||
for (String id : cameraIds) {
|
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);
|
CameraCharacteristics characteristics = cameraManager.getCameraCharacteristics(id);
|
||||||
|
|
||||||
int facing = characteristics.get(CameraCharacteristics.LENS_FACING);
|
int facing = characteristics.get(CameraCharacteristics.LENS_FACING);
|
||||||
|
|
Loading…
Reference in New Issue