diff --git a/java/libraries/video/examples/Capture/GettingStartedCapture/GettingStartedCapture.pde b/java/libraries/video/examples/Capture/GettingStartedCapture/GettingStartedCapture.pde index b5fee5fc3..7ff820dd4 100644 --- a/java/libraries/video/examples/Capture/GettingStartedCapture/GettingStartedCapture.pde +++ b/java/libraries/video/examples/Capture/GettingStartedCapture/GettingStartedCapture.pde @@ -33,7 +33,7 @@ void setup() { println("Supported resolutions:"); for (int i = 0; i < res.length; i++) { println(res[i].width + "x" + res[i].height + ", " + - res[i].fps + " (" + res[i].fpsString +")"); + res[i].fps + "fps (" + res[i].fpsString +")"); } } } diff --git a/java/libraries/video/src/processing/video/Resolution.java b/java/libraries/video/src/processing/video/Resolution.java index 854a6704e..bf55e77d5 100644 --- a/java/libraries/video/src/processing/video/Resolution.java +++ b/java/libraries/video/src/processing/video/Resolution.java @@ -50,6 +50,6 @@ public class Resolution { } public String toString() { - return width + "x" + height + ", " + PApplet.nfc(fps, 2) + " (" + fpsString +")"; + return width + "x" + height + ", " + PApplet.nfc(fps, 2) + "fps (" + fpsString +")"; } } \ No newline at end of file