summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--configure.ac2
-rw-r--r--ext/dc1394/gstdc1394.c3
3 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a48ee22..e0dd4a72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-02-07 Tim-Philipp Müller <tim at centricular dot net>
+
+ * configure.ac:
+ The dc1394 plugin seems to use API that was removed or changed
+ before the final 2.0.0 release, so only build it if 2.0.0-rc5
+ is available. Someone needs to port it to the final API.
+
+ * ext/dc1394/gstdc1394.c: (gst_dc1394_change_camera_transmission):
+ Include string.h for memcpy and use g_usleep instead of usleep.
+
2008-02-07 Sebastian Dröge <slomo@circular-chaos.org>
* gst/filter/gstlpwsinc.c:
diff --git a/configure.ac b/configure.ac
index f5ba905a..264043de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -377,7 +377,7 @@ AG_GST_CHECK_FEATURE(CDAUDIO, [cdaudio], cdaudio, [
dnl *** dc1394 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DC1394, true)
AG_GST_CHECK_FEATURE(DC1394, [libdc1394], dc1394, [
- PKG_CHECK_MODULES(LIBDC1394, libdc1394-2 >= 2.0.0-rc5, HAVE_DC1394="yes", [
+ PKG_CHECK_MODULES(LIBDC1394, libdc1394-2 == 2.0.0-rc5, HAVE_DC1394="yes", [
HAVE_DC1394="no"
AC_MSG_RESULT(no)
])
diff --git a/ext/dc1394/gstdc1394.c b/ext/dc1394/gstdc1394.c
index 9d81f720..9b55a7c7 100644
--- a/ext/dc1394/gstdc1394.c
+++ b/ext/dc1394/gstdc1394.c
@@ -42,6 +42,7 @@
#include "gstdc1394.h"
#include <sys/time.h>
#include <time.h>
+#include <string.h>
GST_DEBUG_CATEGORY (dc1394_debug);
#define GST_CAT_DEFAULT dc1394_debug
@@ -1175,7 +1176,7 @@ gst_dc1394_change_camera_transmission (GstDc1394 * src, gboolean on)
i = 0;
while (status == DC1394_OFF && i++ < 5) {
- usleep (50000);
+ g_usleep (50000);
if (dc1394_video_get_transmission (src->camera,
&status) != DC1394_SUCCESS) {
if (status == DC1394_OFF) {