summaryrefslogtreecommitdiffstats
path: root/ext/raw1394/gstdv1394src.h
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2006-05-31 10:31:23 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2006-05-31 10:31:23 +0000
commit1710bee58ad9eecda6c27db3bb7deec9cb13c5c7 (patch)
treef6cf92c9555bdb5a2325e198484cd4e6c9bd3073 /ext/raw1394/gstdv1394src.h
parentc6919694d0bdc28a82a20ab21d59c7dfb9c38b4d (diff)
configure.ac: Detect libiec61883 and set necessary CFLAGS and LIBS for dv1394.
Original commit message from CVS: 2006-05-31 Zaheer Abbas Merali <zaheerabbas at merali dot org> * configure.ac: Detect libiec61883 and set necessary CFLAGS and LIBS for dv1394. * ext/raw1394/Makefile.am: Add CFLAGS. * ext/raw1394/gstdv1394src.c: (gst_dv1394src_iec61883_receive), New method, to receive using libiec61883. (gst_dv1394src_iso_receive), #ifdef'd out if libiec61883 is present. (gst_dv1394src_bus_reset), Get userdata correctly if using libiec61883. (gst_dv1394src_create), When using libiec61883, only poll one fd and no need to read. (gst_dv1394src_discover_avc_node), Replace g_warnings. (gst_dv1394src_start), Create new handle when we know which dv port. More reliable than setting port on an existing handle. Initialise libiec61883. (gst_dv1394src_stop): If using libiec61883, then cleanup its handle properly. * ext/raw1394/gstdv1394src.h: Add libiec61883 handle.
Diffstat (limited to 'ext/raw1394/gstdv1394src.h')
-rw-r--r--ext/raw1394/gstdv1394src.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/raw1394/gstdv1394src.h b/ext/raw1394/gstdv1394src.h
index a03166c3..6c5b8605 100644
--- a/ext/raw1394/gstdv1394src.h
+++ b/ext/raw1394/gstdv1394src.h
@@ -26,6 +26,9 @@
#include <gst/base/gstpushsrc.h>
#include <libraw1394/raw1394.h>
+#ifdef HAVE_LIBIEC61883
+#include <libiec61883/iec61883.h>
+#endif
G_BEGIN_DECLS
@@ -74,6 +77,9 @@ struct _GstDV1394Src {
gchar *uri;
gboolean connected;
+ #ifdef HAVE_LIBIEC61883
+ iec61883_dv_fb_t iec61883dv;
+ #endif
};
struct _GstDV1394SrcClass {