Author: freetz                       Date: Sun Feb 12 19:17:25 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't use obsolete constant

---- Files affected:
SOURCES:
   libdc1394-def.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libdc1394-def.patch
diff -u /dev/null SOURCES/libdc1394-def.patch:1.1
--- /dev/null   Sun Feb 12 20:17:25 2006
+++ SOURCES/libdc1394-def.patch Sun Feb 12 20:17:20 2006
@@ -0,0 +1,12 @@
+diff -aurN libdc1394-1.1.0.orig/examples/grab_partial_image.c 
libdc1394-1.1.0/examples/grab_partial_image.c
+--- libdc1394-1.1.0.orig/examples/grab_partial_image.c 2004-11-22 
07:05:14.000000000 +0100
++++ libdc1394-1.1.0/examples/grab_partial_image.c      2006-02-12 
19:54:17.888838888 +0100
+@@ -213,7 +213,7 @@
+     /*---------------------------------------------------------------------
+      *  output elapsed time
+      *---------------------------------------------------------------------*/
+-    elapsed_time = (float)(times(&tms_buf) - start_time) / CLK_TCK;
++    elapsed_time = (float)(times(&tms_buf) - start_time) / CLOCKS_PER_SEC;
+     printf( "got frame %d. elapsed time: %g sec ==> %g frames/second\n",
+             i, elapsed_time, (float)i / elapsed_time);
+   }
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to