fi
fi
])
+AM_CONDITIONAL(USE_LIBIEC61883, [ test "x${HAVE_LIBIEC61883}" = xyes ] )
dnl *** shout2 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SHOUT2, true)
plugin_LTLIBRARIES = libgst1394.la
+if USE_LIBIEC61883
+hdvsource = gsthdv1394src.c
+hdvheaders = gsthdv1394src.h
+else
+hdvsource =
+hdvheaders =
+endif
+
libgst1394_la_SOURCES = \
- gst1394.c gst1394probe.c gstdv1394src.c gsthdv1394src.c \
+ gst1394.c gst1394probe.c gstdv1394src.c $(hdvsource) \
gst1394clock.c
libgst1394_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
libgst1394_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgst1394_la_LIBTOOLFLAGS = --tag=disable-static
-noinst_HEADERS = gstdv1394src.h gst1394probe.h gsthdv1394src.h \
+noinst_HEADERS = gstdv1394src.h gst1394probe.h $(hdvheaders) \
gst1394clock.h
#include "gstdv1394src.h"
+#ifdef HAVE_LIBIEC61883
#include "gsthdv1394src.h"
+#endif
static gboolean
plugin_init (GstPlugin * plugin)
if (!gst_element_register (plugin, "dv1394src", GST_RANK_NONE,
GST_TYPE_DV1394SRC))
return FALSE;
+#ifdef HAVE_LIBIEC61883
if (!gst_element_register (plugin, "hdv1394src", GST_RANK_NONE,
GST_TYPE_HDV1394SRC))
return FALSE;
+#endif
return TRUE;
}