Commit graph

53 commits

Author SHA1 Message Date
Rico Tzschichholz
7992c1c92e tools: Fix make dist
Missing bits of b45a1df5de
2013-03-15 16:49:21 +00:00
David Schleef
b45a1df5de element-maker: Update templates for 1.0
This are (almost) completely autogenerated from the documentation.
2013-03-14 23:57:06 -07:00
David Schleef
d3cd53226e gst-app-maker/gst-element-maker: 1.0 updates 2013-02-11 12:30:29 -08:00
David Schleef
be07743a9e gst-app-maker: convert to 1.0 2013-02-07 10:56:54 -08:00
David Schleef
f790fcbfa6 element-maker: Update somewhat for 1.0
Only converted basetransform for the moment.  It's probably easier
to write templates from scratch from the documentation.
2013-02-06 12:43:45 -08:00
Tim-Philipp Müller
9e1b75fda3 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
32ba17cd0f Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Wim Taymans
380b23af90 replace some playbin2 -> playbin 2012-10-10 14:14:43 +02:00
Mark Nauwelaerts
578861abea replace gst_element_class_set_details_simple with gst_element_class_set_metadata 2012-09-14 17:27:49 +02:00
Sebastian Dröge
cda192b3b7 gst: Update for GST_PLUGIN_DEFINE() API changes 2012-04-05 18:02:56 +02:00
Sebastian Dröge
860ccd414d Merge remote-tracking branch 'origin/0.10'
Conflicts:
	NEWS
	RELEASE
	common
	configure.ac
	docs/libs/gst-plugins-bad-libs-sections.txt
	docs/plugins/gst-plugins-bad-plugins.args
	docs/plugins/gst-plugins-bad-plugins.hierarchy
	docs/plugins/gst-plugins-bad-plugins.interfaces
	docs/plugins/inspect/plugin-adpcmdec.xml
	docs/plugins/inspect/plugin-adpcmenc.xml
	docs/plugins/inspect/plugin-assrender.xml
	docs/plugins/inspect/plugin-audiovisualizers.xml
	docs/plugins/inspect/plugin-autoconvert.xml
	docs/plugins/inspect/plugin-bayer.xml
	docs/plugins/inspect/plugin-bz2.xml
	docs/plugins/inspect/plugin-camerabin2.xml
	docs/plugins/inspect/plugin-celt.xml
	docs/plugins/inspect/plugin-dataurisrc.xml
	docs/plugins/inspect/plugin-debugutilsbad.xml
	docs/plugins/inspect/plugin-dtmf.xml
	docs/plugins/inspect/plugin-dtsdec.xml
	docs/plugins/inspect/plugin-dvbsuboverlay.xml
	docs/plugins/inspect/plugin-dvdspu.xml
	docs/plugins/inspect/plugin-faac.xml
	docs/plugins/inspect/plugin-faad.xml
	docs/plugins/inspect/plugin-gsm.xml
	docs/plugins/inspect/plugin-h264parse.xml
	docs/plugins/inspect/plugin-mms.xml
	docs/plugins/inspect/plugin-modplug.xml
	docs/plugins/inspect/plugin-mpeg2enc.xml
	docs/plugins/inspect/plugin-mpegdemux2.xml
	docs/plugins/inspect/plugin-mpegtsdemux.xml
	docs/plugins/inspect/plugin-mpegvideoparse.xml
	docs/plugins/inspect/plugin-mplex.xml
	docs/plugins/inspect/plugin-pcapparse.xml
	docs/plugins/inspect/plugin-rawparse.xml
	docs/plugins/inspect/plugin-rtpmux.xml
	docs/plugins/inspect/plugin-rtpvp8.xml
	docs/plugins/inspect/plugin-scaletempo.xml
	docs/plugins/inspect/plugin-schro.xml
	docs/plugins/inspect/plugin-sdp.xml
	docs/plugins/inspect/plugin-segmentclip.xml
	docs/plugins/inspect/plugin-shm.xml
	docs/plugins/inspect/plugin-videomaxrate.xml
	docs/plugins/inspect/plugin-videoparsersbad.xml
	docs/plugins/inspect/plugin-vp8.xml
	docs/plugins/inspect/plugin-y4mdec.xml
	ext/celt/gstceltdec.c
	ext/dts/gstdtsdec.c
	ext/modplug/gstmodplug.cc
	ext/opus/gstopusenc.c
	gst-libs/gst/video/gstbasevideocodec.c
	gst-libs/gst/video/gstbasevideocodec.h
	gst-libs/gst/video/gstbasevideodecoder.c
	gst-libs/gst/video/gstbasevideodecoder.h
	gst-libs/gst/video/gstbasevideoencoder.c
	gst-libs/gst/video/gstbasevideoencoder.h
	gst/adpcmdec/Makefile.am
	gst/audiovisualizers/gstbaseaudiovisualizer.c
	gst/h264parse/gsth264parse.c
	gst/mpegdemux/mpegtsparse.c
	gst/mpegtsdemux/mpegtsbase.c
	gst/mpegtsdemux/mpegtspacketizer.c
	gst/mpegtsdemux/mpegtsparse.c
	gst/mpegtsdemux/tsdemux.c
	gst/mpegtsdemux/tsdemux.h
	gst/mxf/mxfdemux.c
	gst/rawparse/gstaudioparse.c
	gst/videoparsers/gsth263parse.c
	gst/videoparsers/gsth264parse.c
	sys/d3dvideosink/d3dvideosink.c
	sys/decklink/gstdecklinksink.cpp
	sys/dvb/gstdvbsrc.c
	sys/shm/gstshmsrc.c
	sys/vdpau/h264/gstvdph264dec.c
	sys/vdpau/mpeg/gstvdpmpegdec.c
	tests/examples/opencv/gst_element_print_properties.c
	win32/common/config.h
2012-03-29 17:41:53 +02:00
David Schleef
b45c206647 element-templates: chain query/event functions
Chain up to parent class.  This fix should be done to all of the
templates.
2012-03-17 12:18:47 -07:00
Tim-Philipp Müller
9aa9903430 gst-element-maker: fix -template-video caps string
Don't forget separator.
2012-03-17 16:09:31 +00:00
Tim-Philipp Müller
3991742d77 gst-element-maker: add video pad template and use it in videofilter class
Would be nicer if one could just supplement the generic template
from the element template though.

Also, I would really have liked to just add those sections from the
pads template into the element templet directly (so I can cater for
src template caps == sink template caps), but that didn't seem to
work.
2012-03-17 16:05:20 +00:00
Tim-Philipp Müller
48398114e6 gst-element-maker: add {src,sink}pad-template, since many base classes create pads for us
And use them in the videofilter template.
2012-03-17 15:49:45 +00:00
Tim-Philipp Müller
e504dc3f6b tools: add videofilter template for gst-element-maker 2012-03-17 15:16:29 +00:00
Wim Taymans
320d0838f3 Merge branch 'master' into 0.11
Conflicts:
	gst/colorspace/colorspace.c
2012-02-21 10:06:16 +01:00
David Schleef
e8af6da24a gst-project-maker: Create tools, pass make distcheck
Create a tools directory for an application.  Add source code
stubs to allow the project to compile and pass make distcheck.
Add notes in source code to tell the user how to create plugin
or app code using the other -maker scripts.
2012-02-20 18:13:47 -08:00
Wim Taymans
a9f5def9d1 Merge branch 'master' into 0.11
Conflicts:
	ext/opus/gstopusparse.c
	gst/colorspace/colorspace.c
2012-02-20 16:07:50 +01:00
David Schleef
f3456aeaa1 gst-project-maker: Create autotools project
This is a replacement for gst-template that creates an entire
autotools project (customized to package name), and populates
it with the source for a GStreamer plugin (but no plugin features,
those come from gst-element-maker).  Fixes: #665727.
2012-02-19 15:54:39 -08:00
Vincent Penquerc'h
7521b597f4 various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
Wim Taymans
8546951222 chain up in set_clock 2011-11-10 12:11:21 +01:00
Stefan Kost
c46725845b element-templates: improve the audiofilter template
Add comments. Add start/stop methods. Add (commented) instance casts at the
begin of the method. Make transform_ip returning FLOW_OK by default.
2011-05-18 10:31:38 +03:00
Stefan Kost
f76feeb632 element-maker: improve plugin_init()
Return the result of gst_element_register(). Use the TYPE macro instead of the
_get_type() function.
2011-05-18 10:31:38 +03:00
Tim-Philipp Müller
aaf14dd40a tools: disable new gst-element-maker test
It doesn't seem to work in an uninstalled setup, and
breaks make distcheck for me.
2011-04-27 23:43:03 +01:00
Stefan Kost
f478429895 element-maker: the broekn templates are not broekn, but dependencies
Rename the list and dist them. We need them for the actual templates.
2011-04-27 01:14:20 +03:00
Stefan Kost
bec03b8e19 element-maker: set CPPFLAGS to make templates using uninstalled headers work 2011-04-26 15:21:50 +03:00
Stefan Kost
f7f5946fd3 element-maker: fixup gobject template a bit but disable for now
The template contains things we already define by default.
2011-04-26 15:21:47 +03:00
Stefan Kost
795bf6c53b element-templates: fix templates
Use the object class and not the object in the init function. Set the vmethods.
Add default returns.
2011-04-26 15:21:07 +03:00
Stefan Kost
9bec684c3e element-maker: don't dist incomplete templates
Move not working templates to a separate variable to highlight the fact that
they need more work. These need at least the class and type fields filled.
2011-04-26 15:20:48 +03:00
Stefan Kost
c1e91cb168 element-maker-test: try to run element-maker for all templates
Add an easy way to check the element-maker templates.
2011-04-26 15:17:30 +03:00
Stefan Kost
e32a6f9471 element-maker: make it fail, when compilation fails 2011-04-26 15:17:29 +03:00
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