Skip to content

Commit

Permalink
not necessary to init reg tables for 11-bit unpacked depth
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Echtler <floe@butterbrot.org>
  • Loading branch information
floe authored and zarvox committed Oct 15, 2011
1 parent 80894bc commit 3db7f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cameras.c
Expand Up @@ -938,10 +938,10 @@ int freenect_start_depth(freenect_device *dev)
dev->depth.variable_length = 0;

switch (dev->depth_format) {
case FREENECT_DEPTH_11BIT:
case FREENECT_DEPTH_REGISTERED:
case FREENECT_DEPTH_MM:
freenect_init_registration(dev);
case FREENECT_DEPTH_11BIT:
stream_init(ctx, &dev->depth, freenect_find_depth_mode(dev->depth_resolution, FREENECT_DEPTH_11BIT_PACKED).bytes, freenect_find_depth_mode(dev->depth_resolution, FREENECT_DEPTH_11BIT).bytes);
break;
case FREENECT_DEPTH_10BIT:
Expand Down

0 comments on commit 3db7f23

Please sign in to comment.