It was creating the depth buffer after assigning it to libfreenect.
g-ir-scanner now uses the CFLAGS and LDFLAGS given by pkg-config for freenect.
Specifically, "package" and "c:include" nodes.
The new original values are: - FREENECT_DEPTH_REGISTERED: processed depth data in mm, aligned to 640x480 RGB - FREENECT_DEPTH_MM: depth to each pixel in mm, but left unaligned to RGB image
It was causing a critical warning when calling this GFreenectDevice's method.
These are added to Python example.