2981ee00d9
Not all parameters are specified for openni::VideoMode, so "selected" mode can be unsupported for device. Replace default VideoMode constructor to result of getVideoMode() call.