added id3demuxbin patch
This commit is contained in:
parent
c63c290d68
commit
d390fb1ff4
2 changed files with 20 additions and 2 deletions
|
@ -21,8 +21,8 @@
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Author : $Author: fgerlits $
|
# Author : $Author: maroy $
|
||||||
# Version : $Revision: 1.3 $
|
# Version : $Revision: 1.4 $
|
||||||
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/tools/gstreamer/gstreamer-0.8.10/bin/Attic/install.sh,v $
|
# 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
|
# see bug report at http://bugzilla.gnome.org/show_bug.cgi?id=308167
|
||||||
# for details on the following patch
|
# for details on the following patch
|
||||||
patch -p1 < ${etcdir}/switcher-fix.diff
|
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
|
# --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
|
# is missing from there. remove this when later versions come around
|
||||||
./configure --disable-spc --prefix=${installdir} \
|
./configure --disable-spc --prefix=${installdir} \
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue