From Raymon de Vries, "I've made a small change to DirectShowTexture.cpp: in the options for the directshow plugin it is possible to specify the capture device by number. For instance:  options->setPluginStringData("captureVideoDevice", "0");
From Raymon de Vries, "I've made a small change to DirectShowTexture.cpp: in the options for the directshow plugin it is possible to specify the capture device by number. For instance:
 options->setPluginStringData("captureVideoDevice", "0");

Lines added in getDevice() are:
      int deviceId = atoi(name.c_str());
      if(deviceId >= 0 && deviceId < (int)_listDevice.size())
        return _listDevice[deviceId];

This makes it easy to use a capture device without knowing it's name. Attached is the whole file against rev 11044"


jtorresfabra/osg,scrawl/osg,openscenegraph/osg,artoolkit/osg,artoolkit/osg,jtorresfabra/osg,openscenegraph/osg,tomasthoresen/osg,tomasthoresen/osg,scrawl/osg,artoolkit/osg,openscenegraph/osg,artoolkit/osg,scrawl/osg,marchelbling/osg,scrawl/osg,marchelbling/osg,jtorresfabra/osg,marchelbling/osg,jtorresfabra/osg,tomasthoresen/osg,openscenegraph/osg,tomasthoresen/osg,marchelbling/osg