removed unnecessary oneshoReaderSink member from the Smil structure

This commit is contained in:
maroy 2005-06-29 13:28:11 +00:00
parent 081313959d
commit aa54dd2da9
2 changed files with 7 additions and 7 deletions

View file

@ -22,7 +22,7 @@
Author : $Author: maroy $ 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 $ 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", "minimalaudiosmil",
"Minimal Audio-only SMIL", "Minimal Audio-only SMIL",
plugin_init, plugin_init,
"$Revision: 1.3 $", "$Revision: 1.4 $",
"GPL", "GPL",
"LiveSupport", "LiveSupport",
"http://livesupport.campware.org/") "http://livesupport.campware.org/")
@ -581,6 +581,7 @@ static void
livesupport_minimal_audio_smil_init(LivesupportMinimalAudioSmil * smil) livesupport_minimal_audio_smil_init(LivesupportMinimalAudioSmil * smil)
{ {
GValue gvalue = { 0 }; GValue gvalue = { 0 };
GstPad * oneshotReaderSink;
smil->bin = GST_BIN(gst_bin_new("smilbin")); 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"), gst_element_get_pad(GST_ELEMENT(smil->bin), "src"),
"src"); "src");
smil->oneshotReader = gst_element_factory_make("oneshotreader", "oneshot"); 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); gst_bin_add(GST_BIN(smil), smil->oneshotReader);
smil->sinkpad = gst_element_add_ghost_pad(GST_ELEMENT(smil), smil->sinkpad = gst_element_add_ghost_pad(GST_ELEMENT(smil),
smil->oneshotReaderSink, oneshotReaderSink,
"sink"); "sink");
smil->fileProcessed = FALSE; smil->fileProcessed = FALSE;

View file

@ -22,7 +22,7 @@
Author : $Author: maroy $ 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 $ 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. * Only a small subset of SMIL is supported.
* *
* @author $Author: maroy $ * @author $Author: maroy $
* @version $Revision: 1.1 $ * @version $Revision: 1.2 $
* @see http://www.w3.org/TR/SMIL2/ * @see http://www.w3.org/TR/SMIL2/
*/ */
@ -86,7 +86,6 @@ struct _LivesupportMinimalAudioSmil {
GstPad * srcpad; GstPad * srcpad;
GstElement * oneshotReader; GstElement * oneshotReader;
GstPad * oneshotReaderSink;
gboolean fileProcessed; gboolean fileProcessed;
GstBin * bin; GstBin * bin;