[gst-devel] helloworld; gcc 3.1; mp3types

Michael Rothwell rothwell at holly-springs.nc.us
Sun Jul 7 18:43:04 CEST 2002


On Sun, 2002-07-07 at 22:00, Andy Wingo wrote:
> >   decoder = gst_element_factory_make ("mp3types", "decoder");
> 
> Is this how it's written in the docs? they need updating...

Actually, it's written as gst_elementfactory_make(), which isn't a real
function. I looked in the header files, and corrected it...

> Well, it's not obvious to you, but this plugin provides no feature of
> type GstElementFactory. i.e. this plugin provides no gstreamer elements.

That would certainly explain it. 

> The solution to your problem is to use the helloworld program as
> distributed with 0.4.0, in examples/helloworld. It's up-to-date.

$ ./helloworld ../../../../client/dogbark.mp3
INFO ( 6110: 0) Initializing GStreamer Core Library version 0.4.0
INFO ( 6110: 0) Adding plugin path: "/opt/stb/lib/"
INFO ( 6110: 0) Adding plugin path: "/opt/stb/lib/gst"
INFO ( 6110: 0) CPU features: (c0c1fbff) MMX 3DNOW MMXEXT
registry: loaded user_registry in 0.176614 seconds
          (/home/rothwell/.gstreamer/registry.xml)
could not find plugin "mad"

I tried "mp3types" because "mad" didn't seem to exist.

> Talk to thomasvs on IRC about this if you're interested, he's been
> working on something too.

Okay! Thanks for the tip.


-- 
Michael Rothwell
e: rothwell at holly-springs.nc.us
k: http://www.flyingbuttmonkeys.com/rothwell-public-key.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20020707/299e946e/attachment.pgp>


More information about the gstreamer-devel mailing list