[gst-devel] raw1394 plugin
Jan Schmidt
thaytan at bigpond.net.au
Mon Nov 4 05:57:02 CET 2002
Not sure if there's a reason that the raw1394 plugin uses such an old
version of the libraw1394 library still. The 0.9.0 release was in may 2001,
so has been around awhile now.
Here's a trivial patch which makes it compile against the newest library
version.
Cheers,
J.
--
Jan Schmidt thaytan at mad.scientist.com
"Karaoke bars combine two of the nation's greatest evils:
people who shouldn't drink with people who shouldn't sing."
-Tom Dreesen
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /cvsroot/gstreamer/gst-plugins/configure.ac,v
retrieving revision 1.211
diff -u -r1.211 configure.ac
--- configure.ac 3 Nov 2002 12:15:11 -0000 1.211
+++ configure.ac 4 Nov 2002 13:53:57 -0000
@@ -687,7 +687,7 @@
dnl *** raw1394 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_RAW1394, true)
GST_CHECK_FEATURE(RAW1394, [raw1394 library], dv1394src, [
- GST_CHECK_LIBHEADER(RAW1394, raw1394, raw1394_get_handle,, libraw1394/raw1394.h, RAW1394_LIBS="-raw1394")
+ GST_CHECK_LIBHEADER(RAW1394, raw1394, raw1394_new_handle,, libraw1394/raw1394.h, RAW1394_LIBS="-raw1394")
AC_SUBST(RAW1394_LIBS)
])
Index: ext/raw1394/gstdv1394src.c
===================================================================
RCS file: /cvsroot/gstreamer/gst-plugins/ext/raw1394/gstdv1394src.c,v
retrieving revision 1.4
diff -u -r1.4 gstdv1394src.c
--- ext/raw1394/gstdv1394src.c 11 Apr 2002 20:42:05 -0000 1.4
+++ ext/raw1394/gstdv1394src.c 4 Nov 2002 13:53:58 -0000
@@ -198,7 +198,7 @@
switch (GST_STATE_TRANSITION (element)) {
case GST_STATE_NULL_TO_READY:
- if ((dv1394src->handle = raw1394_get_handle()) == NULL) {
+ if ((dv1394src->handle = raw1394_new_handle()) == NULL) {
GST_INFO_ELEMENT(0,dv1394src,"can't get raw1394 handle");
return GST_STATE_FAILURE;
}
More information about the gstreamer-devel
mailing list