[Gridflow-cvs] [svn] commit: r3760 - /trunk/format/dc1394.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Jun 2 23:14:15 EDT 2008


Author: matju
Date: Mon Jun  2 23:14:15 2008
New Revision: 3760

Log:
detect missing drivers

Modified:
    trunk/format/dc1394.c

Modified: trunk/format/dc1394.c
==============================================================================
--- trunk/format/dc1394.c (original)
+++ trunk/format/dc1394.c Mon Jun  2 23:14:15 2008
@@ -149,6 +149,7 @@
 	\constructor (t_symbol *mode) {
 		post("DC1394: hello world");
 		RH rh = raw1394_new_handle();
+		if (!rh) RAISE("could not get a handle for /dev/raw1394 and /dev/video1394");
 		int numPorts = raw1394_get_port_info(rh,0,0);
 		raw1394_destroy_handle(rh);
 		post("there are %d Feuerweuer ports",numPorts);



More information about the Gridflow-cvs mailing list