[gst-devel] questions

Thomas Vander Stichele thomas at urgent.rug.ac.be
Fri Apr 13 14:57:12 CEST 2001


Hi,

I want to start working on my first plugin to learn the ropes.  I'll start
by writing a volume envelope plugin.  So I copied everything from the
plugin/example directory, and tried to compile it.

First of all, I got some errors about "pasting would not give ..." which
seem to crop up often recently in a lot of discussion re: kernel
recompiling, so I cannot find any good references on what exactly it
means.

It seems to come from the fact that the src_factory and the sink_factory
both have a macro "GST_PAD_FACTORY_CAPS" which seems to pre-process
incorrectly.  When I comment these lines out it seems to compile, but
stops on an implicit declaration of memcpy.  Don't know if that's a
problem.

And after that I get a whole lot of functions he can't find.

So the first thing I wanted to ask was :

* how should I start a new directory tree for writing my plugins ? Do I
need a complex make file or should it all work, providing I use the
gstreamer-config line to include libraries and headers ?
Or, would it be easier to write new stuff directly in the source tree,
adding them to the plugins dir and copying everything from an example ?

Second, plugins are probably compiled to libraries.  I haven't used
libraries much, much less made them myself, so I was wondering if there
was an easy, gentle introduction to that somewhere ?

thanks in advance,

thomas

<-*-                      -*->
You know well
Just never tell
If someone's got a secret hell
<-*- thomas at apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/








More information about the gstreamer-devel mailing list