Re: [libdc1394-devel] hotplugable camera
Capture and control API for IIDC compliant cameras
Brought to you by:
ddouxchamps,
gordp
From: Damien D. <d.d...@te...> - 2004-04-01 13:09:43
|
Hi Rene, On Thu, 2004-04-01 at 14:43, koo...@zo... wrote: > Hi there, >=20 > Is there any way to discover when a firewire camera get disconnected an= d=20 > connected again? I would like to adjust my application so changing a=20 > camera while the application is running does not require me to restart = the=20 > application... You can use the bus reset callback function of libraw1394. I think it's called raw1394_set_bus_reset_handler or something similar. Coriander uses that, you can grab the sources and search for the 'handler' word. You should find what you need there. Damien --=20 _ Damien Douxchamps (=B0- PhD Student / Research Assistant //\ Image Processing Group, Telecom Laboratory, UCL, Belgium V_/_ http://www.tele.ucl.ac.be/MEMBERS/Douxchamps_Damien_e.html |