summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-07-07 08:34:10 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-07-07 08:34:10 +0000
commitf815a3e50fc9be38a55aeea16b60d613aa7daddd (patch)
tree372f3e2ba1977d30e85cfe27b4c8c86a5be1069a
parentee4fdc014a6bbd110839c0a33307226616ad3818 (diff)
downloadgst-plugins-bad-f815a3e50fc9be38a55aeea16b60d613aa7daddd.tar.gz
gst-plugins-bad-f815a3e50fc9be38a55aeea16b60d613aa7daddd.tar.bz2
gst-plugins-bad-f815a3e50fc9be38a55aeea16b60d613aa7daddd.zip
Ported the 1394 source to 0.9.
Original commit message from CVS: * configure.ac: * ext/raw1394/Makefile.am: * ext/raw1394/gstdv1394src.c: (gst_dv1394src_get_type), (gst_dv1394src_class_init), (gst_dv1394src_init), (gst_dv1394src_iso_receive), (gst_dv1394src_create), (gst_dv1394src_change_state), (gst_dv1394src_convert), (gst_dv1394src_get_query_types), (gst_dv1394src_query): * ext/raw1394/gstdv1394src.h: Ported the 1394 source to 0.9.
-rw-r--r--ChangeLog12
-rw-r--r--configure.ac27
2 files changed, 39 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d8a328f..778b8bf2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
2005-07-07 Wim Taymans <wim@fluendo.com>
+ * configure.ac:
+ * ext/raw1394/Makefile.am:
+ * ext/raw1394/gstdv1394src.c: (gst_dv1394src_get_type),
+ (gst_dv1394src_class_init), (gst_dv1394src_init),
+ (gst_dv1394src_iso_receive), (gst_dv1394src_create),
+ (gst_dv1394src_change_state), (gst_dv1394src_convert),
+ (gst_dv1394src_get_query_types), (gst_dv1394src_query):
+ * ext/raw1394/gstdv1394src.h:
+ Ported the 1394 source to 0.9.
+
+2005-07-07 Wim Taymans <wim@fluendo.com>
+
* ext/mad/gstid3tag.c: (gst_id3_tag_get_query_types):
* ext/mad/gstmad.c: (gst_mad_get_query_types), (gst_mad_src_query):
* gst/avi/gstavidemux.c: (gst_avi_demux_get_src_query_types):
diff --git a/configure.ac b/configure.ac
index 254f2505..cf71126a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -419,6 +419,32 @@ GST_CHECK_FEATURE(MAD, [mad mp3 decoder], mad, [
])
AC_SUBST(MAD_LIBS)
+dnl *** dv1394 ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_DV1394, true)
+GST_CHECK_FEATURE(DV1394, [raw1394 and avc1394 library], dv1394src, [
+ dnl we need to test three headers and three libs
+ GST_CHECK_LIBHEADER(RAW1394,
+ raw1394, raw1394_new_handle,,
+ libraw1394/raw1394.h, RAW1394_LIBS="-lraw1394")
+ GST_CHECK_LIBHEADER(AVC1394,
+ avc1394, avc1394_send_command, $RAW1394_LIBS,
+ libavc1394/avc1394.h, AVC1394_LIBS="-lavc1394")
+ GST_CHECK_LIBHEADER(ROM1394,
+ rom1394, rom1394_free_directory, $RAW1394_LIBS,
+ libavc1394/rom1394.h, ROM1394_LIBS="-lrom1394")
+
+ dnl now see how far we got
+ if test x$HAVE_RAW1394 = xyes && \
+ test x$HAVE_AVC1394 = xyes && \
+ test x$HAVE_ROM1394 = xyes; then
+ HAVE_DV1394=yes
+ DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS"
+ AC_SUBST(DV1394_LIBS)
+ else
+ HAVE_DV1394=no
+ fi
+])
+
dnl **** ESound ****
translit(dnm, m, l) AM_CONDITIONAL(USE_ESD, true)
GST_CHECK_FEATURE(ESD, [esound plug-ins], esdsink, [
@@ -507,6 +533,7 @@ ext/Makefile
ext/aalib/Makefile
ext/libcaca/Makefile
ext/mad/Makefile
+ext/raw1394/Makefile
ext/shout2/Makefile
ext/sidplay/Makefile
ext/esd/Makefile