From aa54dd2da9e5e3dd8c06c353c1d35b2aa7cf6190 Mon Sep 17 00:00:00 2001 From: maroy Date: Wed, 29 Jun 2005 13:28:11 +0000 Subject: [PATCH] removed unnecessary oneshoReaderSink member from the Smil structure --- .../modules/gstreamerElements/src/minimal-audio-smil.c | 9 +++++---- .../modules/gstreamerElements/src/minimal-audio-smil.h | 5 ++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/livesupport/modules/gstreamerElements/src/minimal-audio-smil.c b/livesupport/modules/gstreamerElements/src/minimal-audio-smil.c index 9a1ea27a0..9de402bd6 100644 --- a/livesupport/modules/gstreamerElements/src/minimal-audio-smil.c +++ b/livesupport/modules/gstreamerElements/src/minimal-audio-smil.c @@ -22,7 +22,7 @@ Author : $Author: maroy $ - Version : $Revision: 1.3 $ + Version : $Revision: 1.4 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/gstreamerElements/src/minimal-audio-smil.c,v $ ------------------------------------------------------------------------------*/ @@ -110,7 +110,7 @@ GST_PLUGIN_DEFINE(GST_VERSION_MAJOR, "minimalaudiosmil", "Minimal Audio-only SMIL", plugin_init, - "$Revision: 1.3 $", + "$Revision: 1.4 $", "GPL", "LiveSupport", "http://livesupport.campware.org/") @@ -581,6 +581,7 @@ static void livesupport_minimal_audio_smil_init(LivesupportMinimalAudioSmil * smil) { GValue gvalue = { 0 }; + GstPad * oneshotReaderSink; smil->bin = GST_BIN(gst_bin_new("smilbin")); @@ -601,10 +602,10 @@ livesupport_minimal_audio_smil_init(LivesupportMinimalAudioSmil * smil) gst_element_get_pad(GST_ELEMENT(smil->bin), "src"), "src"); smil->oneshotReader = gst_element_factory_make("oneshotreader", "oneshot"); - smil->oneshotReaderSink = gst_element_get_pad(smil->oneshotReader, "sink"); + oneshotReaderSink = gst_element_get_pad(smil->oneshotReader, "sink"); gst_bin_add(GST_BIN(smil), smil->oneshotReader); smil->sinkpad = gst_element_add_ghost_pad(GST_ELEMENT(smil), - smil->oneshotReaderSink, + oneshotReaderSink, "sink"); smil->fileProcessed = FALSE; diff --git a/livesupport/modules/gstreamerElements/src/minimal-audio-smil.h b/livesupport/modules/gstreamerElements/src/minimal-audio-smil.h index 67e62226c..323d7cdaf 100644 --- a/livesupport/modules/gstreamerElements/src/minimal-audio-smil.h +++ b/livesupport/modules/gstreamerElements/src/minimal-audio-smil.h @@ -22,7 +22,7 @@ Author : $Author: maroy $ - Version : $Revision: 1.1 $ + Version : $Revision: 1.2 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/gstreamerElements/src/minimal-audio-smil.h,v $ ------------------------------------------------------------------------------*/ @@ -35,7 +35,7 @@ * Only a small subset of SMIL is supported. * * @author $Author: maroy $ - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ * @see http://www.w3.org/TR/SMIL2/ */ @@ -86,7 +86,6 @@ struct _LivesupportMinimalAudioSmil { GstPad * srcpad; GstElement * oneshotReader; - GstPad * oneshotReaderSink; gboolean fileProcessed; GstBin * bin;