// Compile with:
// valac --library my_simple_gst_plugin -X --shared -X -fPIC --pkg gstreamer-1.0 my_simple_gst_plugin.vala --output my_simple_gst_plugin.so

// Inspect with:
// GST_PLUGIN_PATH=./ gst-inspect-1.0 my_simple_gst_plugin

public const Gst.PluginDesc gst_plugin_desc = {
  Gst.VERSION_MAJOR,
  Gst.VERSION_MINOR, 
  "my_simple_gst_plugin", 
  "A simple example of a GStreamer plugin",
  plugin_init,
  "0.0",
  "unknown",
  "no-source-module",
  "Unknown binary package",
  "Provider has no URL",
  "2016-01-01"
};

public static bool plugin_init (Gst.Plugin plugin)
{
  message( "\"%s\" init called", gst_plugin_desc.name );
  message( "Compiled for GStreamer version %i.%i", gst_plugin_desc.major_version, gst_plugin_desc.minor_version );
  return true;
}
