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 ad06185a2..8415cdbce 100755 --- a/livesupport/tools/gstreamer/gstreamer-0.8.10/bin/install.sh +++ b/livesupport/tools/gstreamer/gstreamer-0.8.10/bin/install.sh @@ -21,8 +21,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # -# Author : $Author: fgerlits $ -# Version : $Revision: 1.3 $ +# Author : $Author: maroy $ +# Version : $Revision: 1.4 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/tools/gstreamer/gstreamer-0.8.10/bin/Attic/install.sh,v $ #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- @@ -68,6 +68,9 @@ 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 +# 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 # --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/id3demuxbin-pad-free-fix.patch b/livesupport/tools/gstreamer/gstreamer-0.8.10/etc/id3demuxbin-pad-free-fix.patch new file mode 100644 index 000000000..ffa6c7089 --- /dev/null +++ b/livesupport/tools/gstreamer/gstreamer-0.8.10/etc/id3demuxbin-pad-free-fix.patch @@ -0,0 +1,15 @@ +--- gst-plugins-0.8.9/ext/mad/gstid3demuxbin.c 2005-04-10 22:24:17.000000000 +0200 ++++ gst-plugins-0.8.9-livesupport/ext/mad/gstid3demuxbin.c 2005-06-22 10:45:31.000000000 +0200 +@@ -188,7 +188,11 @@ + gst_id3demux_bin_remove_pad (GstId3DemuxBin * id3) + { + if (id3->srcpad) { +- gst_element_remove_pad (GST_ELEMENT (id3), id3->srcpad); ++ GstPad * pad = gst_element_get_pad(GST_ELEMENT(id3), "src"); ++ ++ if (pad && pad == id3->srcpad) { ++ gst_element_remove_pad (GST_ELEMENT (id3), id3->srcpad); ++ } + id3->srcpad = NULL; + } + }