vidGrabber.listDevices bug

Hi, the bug appears if you call listDevices BEFORE initializing the grabber.

  
  
vidGrabber.setVerbose(true);  
vidGrabber.listDevices();  
vidGrabber.initGrabber(camWidth,camHeight);  

getting this as a result in the console:
error in list devices, couldn’t allocate grabbing component

if listDevices is called AFTER initGrabber there’s no problem

  
  
vidGrabber.setVerbose(true);  
vidGrabber.initGrabber(camWidth,camHeight);  
vidGrabber.listDevices();  

getting this as a result in the console:
_listing available capture devices 7
(unavailable) device[0] DV Video
(unavailable) device[1] DVCPRO HD (1080i50)
(unavailable) device[2] DVCPRO HD (1080i60)
(unavailable) device[3] DVCPRO HD (720p60)
(unavailable) device[4] IIDC FireWire Video
device[5] USB Video Class Video
device[6] VideoGlide _

Hey!
Thanks for spotting this, shouldn’t be too tricky to fix.
Theo