We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 867ca06 commit 62f0a0dCopy full SHA for 62f0a0d
1 file changed
OpenNI2-FreenectDriver/src/DeviceDriver.cpp
@@ -72,12 +72,10 @@ namespace FreenectDriver
72
LogError("Cannot create a stream of type " + to_string(sensorType));
73
return NULL;
74
case ONI_SENSOR_COLOR:
75
- Freenect::FreenectDevice::startVideo();
76
if (! color)
77
color = new ColorStream(this);
78
return color;
79
case ONI_SENSOR_DEPTH:
80
- Freenect::FreenectDevice::startDepth();
81
if (! depth)
82
depth = new DepthStream(this);
83
return depth;
0 commit comments