[gstreamer-bugs] [Bug 307517] New: shout2send element cannot be accessed through get_byname
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Mon Jun 13 07:41:22 PDT 2005
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=307517
GStreamer | gstreamer (core) | Ver: 0.8.8
Summary: shout2send element cannot be accessed through get_byname
Product: GStreamer
Version: 0.8.8
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: misc at mandriva.org
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: all-bugs at bugzilla.gnome.org
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.
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list