tools: Add element-maker
authorDavid Schleef <ds@schleef.org>
Wed, 14 Apr 2010 23:32:34 +0000 (16:32 -0700)
committerDavid Schleef <ds@schleef.org>
Wed, 14 Apr 2010 23:43:23 +0000 (16:43 -0700)
commitf6f9563dc80ad993a0535e1484c893509753966f
tree925d2980cf71d4c49ad51665a67e1d7d58ec4b4b
parentc48de5c594a090432cb520596273fc620ea1120e
tools: Add element-maker

Add a script that creates elements based on any of the GStreamer
base classes.  It isn't very user friendly at the moment, one
needs to edit the script to make it work properly.  Each base class
has a template file describing what to put into the constructed
element.  Eventually, these templates should be moved to reside
with the base class source and installed to a well-known directory,
where an installed script could find them.

The template files use the .c ending so editors know they are C
source, but gst-indent doesn't handle them correctly.  So they
need to be committed with -n.  Ugh.  I'll try to figure out a fix
for that soon.
21 files changed:
Makefile.am
configure.ac
tools/Makefile.am [new file with mode: 0644]
tools/base.c [new file with mode: 0644]
tools/element-maker [new file with mode: 0755]
tools/gobject.c [new file with mode: 0644]
tools/gstaudiofilter.c [new file with mode: 0644]
tools/gstaudiosink.c [new file with mode: 0644]
tools/gstaudiosrc.c [new file with mode: 0644]
tools/gstbaseaudiosink.c [new file with mode: 0644]
tools/gstbaseaudiosrc.c [new file with mode: 0644]
tools/gstbasertpdepayload.c [new file with mode: 0644]
tools/gstbasertppayload.c [new file with mode: 0644]
tools/gstbasesink.c [new file with mode: 0644]
tools/gstbasesrc.c [new file with mode: 0644]
tools/gstbasetransform.c [new file with mode: 0644]
tools/gstcddabasesrc.c [new file with mode: 0644]
tools/gstelement.c [new file with mode: 0644]
tools/gstpushsrc.c [new file with mode: 0644]
tools/gsttagdemux.c [new file with mode: 0644]
tools/gstvideosink.c [new file with mode: 0644]