2001-12-23 17:27:58 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) 2001 Steve Baker <stevebaker_org@yahoo.co.uk>
|
|
|
|
*
|
|
|
|
* gstcontrol.c: GStreamer control utility library
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2002-03-24 20:55:45 +00:00
|
|
|
#include <gst/gst.h>
|
2002-05-02 13:41:07 +00:00
|
|
|
#include "control.h"
|
2001-12-23 17:27:58 +00:00
|
|
|
|
2002-04-14 10:08:21 +00:00
|
|
|
static void
|
|
|
|
gst_control_init_common()
|
|
|
|
{
|
|
|
|
_gst_dpman_initialize ();
|
|
|
|
_gst_unitconv_initialize ();
|
|
|
|
}
|
|
|
|
|
2001-12-23 17:27:58 +00:00
|
|
|
void
|
|
|
|
gst_control_init (int *argc, char **argv[]) {
|
2002-04-14 10:08:21 +00:00
|
|
|
gst_control_init_common();
|
2001-12-23 17:27:58 +00:00
|
|
|
}
|
2002-03-24 20:55:45 +00:00
|
|
|
|
|
|
|
static gboolean
|
|
|
|
plugin_init (GModule *module, GstPlugin *plugin)
|
|
|
|
{
|
2002-04-14 10:08:21 +00:00
|
|
|
gst_control_init_common();
|
|
|
|
gst_plugin_set_longname (plugin, "Dynamic Parameters");
|
|
|
|
return TRUE;
|
2002-03-24 20:55:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
GstPluginDesc plugin_desc = {
|
2002-04-14 10:08:21 +00:00
|
|
|
GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
|
|
|
"gstcontrol",
|
|
|
|
plugin_init
|
2002-03-24 20:55:45 +00:00
|
|
|
};
|