title: VideoStream::setVideoMode() function doesn't work
body: <p>I want to change VideoStream setting in my program, but it doesn't work</p>
  
  <pre><code>#include &lt;OpenNI.h&gt;
  
  int main()
  {
      OpenNI::initialize();
      Device device;
      device.open(ANY_DEVICE);
      VideoStream depthStream;
      depthStream.create(device, SENSOR_DEPTH);
      depthStream.start();
  
      VideoMode depthMode;
      depthMode.setFps(20);
      depthMode.setResolution(640, 480);
      depthMode.setPixelFormat(PIXEL_FORMAT_DEPTH_100_UM);
      depthStream.setVideoMode(depthMode);
  
      ...
  }
  </code></pre>
  
  <p>Even I change <code>depthStream.start()</code> line after <code>setVideoMode()</code> function, but still doesn't work.</p>
  
  <p>I changed Fps to 24, 20, 5, 1 but it doesn't change anything.</p>
  
  <p>p.s. : This is my simple code, without error handling.</p>
  
  <hr>
  
  <p><strong>Edit:</strong></p>
  
  <p><strong>Answer:</strong>
  with the help of dear "api55" i found that my device (Kinect Xbox) support only one mode of videoMode. <em>so I can't change it.</em></p>
  
  <p>My only supported video is :</p>
  
  <pre><code>FPS:30
  Width:640
  Height:480
  </code></pre>