diff --git a/livesupport/tools/gstreamer/gstreamer-0.8.10/bin/install.sh b/livesupport/tools/gstreamer/gstreamer-0.8.10/bin/install.sh index 8415cdbce..d5f13213e 100755 --- a/livesupport/tools/gstreamer/gstreamer-0.8.10/bin/install.sh +++ b/livesupport/tools/gstreamer/gstreamer-0.8.10/bin/install.sh @@ -22,7 +22,7 @@ # # # Author : $Author: maroy $ -# Version : $Revision: 1.4 $ +# Version : $Revision: 1.5 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/tools/gstreamer/gstreamer-0.8.10/bin/Attic/install.sh,v $ #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- @@ -67,10 +67,13 @@ cd ${plugins} patch -p1 < ${etcdir}/adder-fix.diff # see bug report at http://bugzilla.gnome.org/show_bug.cgi?id=308167 # for details on the following patch -patch -p1 < ${etcdir}/switcher-fix.diff +patch -p1 < ${etcdir}/switch-fix.diff # see bug report at http://bugzilla.gnome.org/show_bug.cgi?id=308619 # for details on the following patch patch -p1 < ${etcdir}/id3demuxbin-pad-free-fix.patch +# see bug report at http://bugzilla.gnome.org/show_bug.cgi?id=308663 +# for details on the following patch +patch -p1 < ${etcdir}/typefind-smil.patch # --disable-spc is a workaround for gst-plugins-0.8.9, as some APU.c file # is missing from there. remove this when later versions come around ./configure --disable-spc --prefix=${installdir} \ diff --git a/livesupport/tools/gstreamer/gstreamer-0.8.10/etc/typefind-smil.patch b/livesupport/tools/gstreamer/gstreamer-0.8.10/etc/typefind-smil.patch new file mode 100644 index 000000000..5d3167014 --- /dev/null +++ b/livesupport/tools/gstreamer/gstreamer-0.8.10/etc/typefind-smil.patch @@ -0,0 +1,86 @@ +--- gst-plugins-0.8.9/gst/typefind/gsttypefindfunctions.c 2005-05-17 10:41:47.000000000 +0200 ++++ gst-plugins-0.8.9-livesupport/gst/typefind/gsttypefindfunctions.c 2005-06-22 18:46:33.000000000 +0200 +@@ -132,6 +132,66 @@ + } + } + ++/*** application/smil *********************************************************/ ++ ++static GstStaticCaps smil_caps = GST_STATIC_CAPS ("application/smil"); ++ ++#define SMIL_CAPS (gst_static_caps_get(&smil_caps)) ++static void ++smil_type_find (GstTypeFind * tf, gpointer unused) ++{ ++ guint8 *data = gst_type_find_peek (tf, 0, BUFFER_SIZE); ++ guint pos = 0; ++ guint offset = 0; ++ ++ if (data) { ++ /* look for the XMLDec, ++ * see XML spec 2.8, Prolog and Document Type Declaration ++ * http://www.w3.org/TR/2004/REC-xml-20040204/#sec-prolog-dtd ++ */ ++ /* we know that BUFFER_SIZE > strlen(" element */ ++ while (data) { ++ while (*data != '<') { ++ INC_BUFFER; ++ } ++ ++ INC_BUFFER; ++ if (!g_ascii_isalpha(*data)) { ++ /* if not alphabetic, it's a PI or an element / attribute declaration ++ * like