Skip to content

Commit 0aba05e

Browse files
committed
Java wrapper: Don't set video or depth formats at startup.
The defaults from libfreenect are fine. Signed-off-by: Robert Xiao <[email protected]>
1 parent 7e876a6 commit 0aba05e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wrappers/java/src/main/java/org/openkinect/freenect/Freenect.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ protected NativeDevice (Pointer ptr, int index) {
174174
this.rawTiltState = freenect_get_tilt_state(this);
175175
this.accel = new double[3];
176176
refreshTiltState();
177-
setVideoFormat(VideoFormat.RGB);
178-
setDepthFormat(DepthFormat.D10BIT);
177+
//setVideoFormat(VideoFormat.RGB);
178+
//setDepthFormat(DepthFormat.D10BIT);
179179
}
180180

181181
protected void setDeviceIndex (int index) {

0 commit comments

Comments
 (0)