Index: /OpenSceneGraph/trunk/src/osgPlugins/directshow/DirectShowTexture.cpp
===================================================================
--- /OpenSceneGraph/trunk/src/osgPlugins/directshow/DirectShowTexture.cpp (revision 11116)
+++ /OpenSceneGraph/trunk/src/osgPlugins/directshow/DirectShowTexture.cpp (revision 11130)
@@ -844,4 +844,9 @@
         //if (!_listDevice.empty())
         //    return _listDevice.front();
+
+        int deviceId = atoi(name.c_str());
+        if(deviceId >= 0 && deviceId < (int)_listDevice.size())
+          return _listDevice[deviceId];
+
         return DeviceEntry();
     }
