After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 307517 - shout2send element cannot be accessed through get_byname
shout2send element cannot be accessed through get_byname
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.8.8
Other Linux
: Normal normal
: 0.8.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-13 14:41 UTC by misc
Modified: 2005-06-14 13:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description misc 2005-06-13 14:41:21 UTC
Distribution/Version: Mandrake 10.2 amd64 and Debian sid

using the following pipeline :  
'gnomevfssrc ! typefind ! decodebin ! audioconvert ! audioscale !                  
vorbisenc ! shout2send name=shout2send mount=test.ogg', the last element cannot  
be accessed with get_by_name.  
  
To test, use the following python code :  
  
import gst  
  
bin = gst.parse_launch(' gnomevfssrc name=gnomevfssrc ! ' +  
                       ' typefind name=typefind ! '  +  
                       ' decodebin name=decodebin ! ' +  
                       ' audioconvert name=audioconvert ! ' +  
                       ' audioscale name=audioscale ! ' +  
                       ' vorbisenc name=vorbisenc ! ' +  
                       ' shout2send name=shout2send mount=test.ogg')   
  
for i in bin.get_list():   
            print i  
            print i.get_property('name')  
            print bin.get_by_name(i.get_property('name'))   
            print "" 
  
output show that bin.get_by_name does not find shout2send.  
  
$ python  /tmp/test.py  
<__main__.GstGnomeVFSSrc object (GstGnomeVFSSrc) at 0x2aaaac74dc30>  
gnomevfssrc  
<__main__.GstGnomeVFSSrc object (GstGnomeVFSSrc) at 0x2aaaac74dc30>  
 
<__main__.GstTypeFindElement object (GstTypeFindElement) at 0x2aaaac74dc80>  
typefind  
<__main__.GstTypeFindElement object (GstTypeFindElement) at 0x2aaaac74dc80>  
 
<__main__.GstDecodeBin object (GstDecodeBin) at 0x2aaaac74dcd0>  
decodebin  
<__main__.GstDecodeBin object (GstDecodeBin) at 0x2aaaac74dcd0>  
 
<__main__.GstAudioConvert object (GstAudioConvert) at 0x2aaaac74dd20>  
audioconvert  
<__main__.GstAudioConvert object (GstAudioConvert) at 0x2aaaac74dd20>  
 
<__main__.Audioscale object (Audioscale) at 0x2aaaac74dd70>  
audioscale  
<__main__.Audioscale object (Audioscale) at 0x2aaaac74dd70>  
 
<__main__.OggVorbisEnc object (OggVorbisEnc) at 0x2aaaac74ddc0>  
vorbisenc  
<__main__.OggVorbisEnc object (OggVorbisEnc) at 0x2aaaac74ddc0>  
 
<__main__.GstShout2send object (GstShout2send) at 0x2aaaac74de10>  
shout2send  
None  
  
  
If I use fakesink instead of shout2send, it works as expected.  
  
It seems that shout2send already use a name property for the name of the 
stream, transmitted to icecast.
Comment 1 Ronald Bultje 2005-06-14 13:01:55 UTC
Fixed in 0.8.9 (according to zaheer).