mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
gstcontrol is now just a normal lib, not a plugin
Original commit message from CVS: gstcontrol is now just a normal lib, not a plugin
This commit is contained in:
parent
0d8986f3ed
commit
e4056aa180
3 changed files with 4 additions and 26 deletions
|
@ -1,4 +1,4 @@
|
|||
librarydir = $(libdir)/gst
|
||||
librarydir = $(libdir)
|
||||
|
||||
library_LTLIBRARIES = libgstcontrol.la
|
||||
|
||||
|
|
|
@ -19,32 +19,10 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include "control.h"
|
||||
|
||||
static void
|
||||
gst_control_init_common()
|
||||
{
|
||||
_gst_dpman_initialize ();
|
||||
_gst_unitconv_initialize ();
|
||||
}
|
||||
|
||||
void
|
||||
gst_control_init (int *argc, char **argv[]) {
|
||||
gst_control_init_common();
|
||||
_gst_dpman_initialize ();
|
||||
_gst_unitconv_initialize ();
|
||||
}
|
||||
|
||||
static gboolean
|
||||
plugin_init (GModule *module, GstPlugin *plugin)
|
||||
{
|
||||
gst_control_init_common();
|
||||
gst_plugin_set_longname (plugin, "Dynamic Parameters");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
GstPluginDesc plugin_desc = {
|
||||
GST_VERSION_MAJOR,
|
||||
GST_VERSION_MINOR,
|
||||
"gstcontrol",
|
||||
plugin_init
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <gst/gstelement.h>
|
||||
#include <gst/gstinfo.h>
|
||||
|
||||
static GHashTable *_element_registry;
|
||||
static GHashTable *_element_registry = NULL;
|
||||
static gboolean _gst_dpman_init_done = FALSE;
|
||||
|
||||
enum {
|
||||
|
|
Loading…
Reference in a new issue