Commit graph

21 commits

Author SHA1 Message Date
Stefan Kost a161f901eb element-maker: allow to run from a different working directory
Get the dirname for the script and use that to reference the templates. Use the
templatedir variable to check for templates.
2011-04-26 03:42:55 -04:00
David Schleef 9f38ae9227 element-maker: lowercasify input
This allows using capitalized acronyms in class names, so using
"AVC_src" on the command line will create filename gstavcsrc.c,
class name GstAVCSrc, and symbol names gst_avc_src_*.
2011-04-24 19:40:09 -07:00
Tim-Philipp Müller fb0222ea67 element-templates: clean up gobject template a bit
Remove pointless g_return_if_fail (G_IS_FOO (obj)) checks in
vfunc implementations. Comment out unused variables to avoid
warnings with gcc 4.6.
2011-04-15 00:24:47 +01:00
Tim-Philipp Müller d82c63df98 element-maker: dist new videofilter2 template 2011-04-10 00:26:47 +01:00
Tim-Philipp Müller 581714bff0 baseparse: remove -bad version of baseparse library, now in core 2011-04-09 00:38:02 +01:00
David Schleef 02b15b4e8b element-maker: Add videofilter2 template 2011-04-08 15:51:04 -07:00
David Schleef fedcf43e29 element-maker: do test build with -fPIC 2011-02-17 14:08:09 -08:00
David Schleef 5a1132aaf1 element-maker: Add baseparse template 2011-02-17 14:07:53 -08:00
David Schleef 07625c1b5d element-maker: Fix handling of debug category 2011-01-20 13:01:00 -08:00
David Schleef a09078db4a element-maker: improve pushsrc 2011-01-05 18:27:04 -08:00
David Schleef 36a3688015 element-maker: Add debug category 2011-01-02 19:38:01 -08:00
David Schleef a12dce1095 element-maker: Update FSF address 2010-12-31 00:37:54 -08:00
David Schleef 76b087b8b6 Add gst-app-maker 2010-12-31 00:37:30 -08:00
David Schleef 7ae4aaaee6 element-maker: Clean up directory 2010-12-15 12:47:02 -08:00
David Schleef da1fe1e0dd element-maker: improve generation of several classes
Better creation of pads, test and fix many other classes.  Most
classes work now, although might not create functional elements.
2010-12-14 19:04:45 -08:00
David Schleef 0a624d92cf element-maker: Handle names with multiple underscores 2010-12-01 23:24:24 -08:00
David Schleef 7e8580c955 element-maker: Take parameters on command line
Now it's actually useful.
2010-09-06 03:25:16 -07:00
David Schleef 239bcffa56 element-maker: construct element names 2010-09-04 11:22:26 -07:00
David Schleef 8b3450882a element-maker: Fix up GstElement 2010-09-04 11:22:25 -07:00
David Schleef fbbb708e9f tools: flesh out element-maker templates 2010-06-03 23:57:46 -07:00
David Schleef f6f9563dc8 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.
2010-04-14 16:43:23 -07:00