diff options
Diffstat (limited to 'tools/gst-element-maker')
-rwxr-xr-x | tools/gst-element-maker | 8 |
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 |