summaryrefslogtreecommitdiff
path: root/gst-vocschnipselssink/README
blob: 190568447535a2e7c7b73edd9d5813c085a066de (plain)
  1. WHAT IT IS
  2. ----------
  3. gst-plugin is a template for writing your own GStreamer plug-in.
  4. The code is deliberately kept simple so that you quickly understand the basics
  5. of how to set up autotools and your source tree.
  6. This template demonstrates :
  7. - what to do in autogen.sh
  8. - how to setup configure.ac (your package name and version, GStreamer flags)
  9. - how to setup your source dir
  10. - what to put in Makefile.am
  11. More features and templates might get added later on.
  12. HOW TO USE IT
  13. -------------
  14. To use it, either make a copy for yourself and rename the parts or use the
  15. make_element script in tools. To create sources for "myfilter" based on the
  16. "gsttransform" template run:
  17. cd src;
  18. ../tools/make_element myfilter gsttransform
  19. This will create gstmyfilter.c and gstmyfilter.h. Open them in an editor and
  20. start editing. There are several occurances of the string "template", update
  21. those with real values. The plugin will be called 'myfilter' and it will have
  22. one element called 'myfilter' too. Also look for "FIXME:" markers that point you
  23. to places where you need to edit the code.
  24. You still need to adjust the Makefile.am.