diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2008-02-07 12:05:44 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2008-02-07 12:05:44 +0000 |
commit | 120a00c2e7434d26caa9d72b7c00221d1917cf22 (patch) | |
tree | a4538bb04f2b08f40a0ec1211d35cdc3d81417d1 /ext/dc1394 | |
parent | b11181550e15989559b7ae4aba87e3c995876b54 (diff) | |
download | gst-plugins-bad-120a00c2e7434d26caa9d72b7c00221d1917cf22.tar.gz gst-plugins-bad-120a00c2e7434d26caa9d72b7c00221d1917cf22.tar.bz2 gst-plugins-bad-120a00c2e7434d26caa9d72b7c00221d1917cf22.zip |
configure.ac: The dc1394 plugin seems to use API that was removed or changed before the final 2.0.0 release, so only ...
Original commit message from CVS:
* 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.
Diffstat (limited to 'ext/dc1394')
-rw-r--r-- | ext/dc1394/gstdc1394.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |