Skip to content

Commit

Permalink
modified the default Kinect allocation to use the medium video resolu…
Browse files Browse the repository at this point in the history
…tion profile (this became a requirement since the latest developments in libfreenect)

Signed-off-by: Marcos Paulo Berteli Slomp <[email protected]>
  • Loading branch information
slomp committed Feb 17, 2011
1 parent 5145d3f commit 116b8db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wrappers/c_sync/libfreenect_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ static sync_kinect_t *alloc_kinect(int index)
}
kinect->video.fmt = -1;
kinect->depth.fmt = -1;
freenect_set_video_resolution(kinect->dev, FREENECT_RESOLUTION_MEDIUM);
freenect_set_video_callback(kinect->dev, video_producer_cb);
freenect_set_depth_callback(kinect->dev, depth_producer_cb);
pthread_mutex_init(&kinect->video.lock, NULL);
Expand Down

0 comments on commit 116b8db

Please sign in to comment.