summaryrefslogtreecommitdiff
path: root/tools/gst-element-maker
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2013-03-14 23:57:06 -0700
committerDavid Schleef <ds@schleef.org>2013-03-14 23:57:06 -0700
commitb45a1df5deadb029dcbe4522f0116d34f1cd2f1e (patch)
treed46b051fb9249e86bbac6a8a2be47e6d72d4ac2a /tools/gst-element-maker
parent6005ab322dff427e9a06963b74523fa1de1d5165 (diff)
downloadgstreamer-plugins-bad-b45a1df5deadb029dcbe4522f0116d34f1cd2f1e.tar.gz
element-maker: Update templates for 1.0
This are (almost) completely autogenerated from the documentation.
Diffstat (limited to 'tools/gst-element-maker')
-rwxr-xr-xtools/gst-element-maker8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/gst-element-maker b/tools/gst-element-maker
index 4a09c9fc8..18788f69e 100755
--- a/tools/gst-element-maker
+++ b/tools/gst-element-maker
@@ -233,10 +233,16 @@ static gboolean
plugin_init (GstPlugin * plugin)
{
+ /* FIXME Remember to set the rank if it's an element that is meant
+ to be autoplugged by decodebin. */
return gst_element_register (plugin, "replace", GST_RANK_NONE,
GST_TYPE_REPLACE);
}
+/* FIXME: these are normally defined by the GStreamer build system.
+ If you are creating an element to be included in gst-plugins-*,
+ remove these, as they're always defined. Otherwise, edit as
+ appropriate for your external plugin package. */
#ifndef VERSION
#define VERSION "0.0.FIXME"
#endif
@@ -371,7 +377,7 @@ gst-indent $gstreplace.c
echo pkg is $pkg
-gcc -Wall -fPIC $CPPFLAGS $(pkg-config --cflags gstreamer-1.0 $pkg) -c -o $gstreplace.o $gstreplace.c
+gcc -Wall -Werror -fPIC $CPPFLAGS $(pkg-config --cflags gstreamer-1.0 $pkg) -c -o $gstreplace.o $gstreplace.c
if test $? -ne 0; then
exit 1
fi