mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
lv2: use plugin dependency registry api
This commit is contained in:
parent
6f4bf4cf8f
commit
792c181edc
1 changed files with 7 additions and 0 deletions
|
@ -45,6 +45,10 @@
|
|||
#include "gstlv2.h"
|
||||
#include <slv2/slv2.h>
|
||||
|
||||
#define GST_LV2_DEFAULT_PATH \
|
||||
"/usr/lib/lv2" G_SEARCHPATH_SEPARATOR_S \
|
||||
"/usr/local/lib/lv2" G_SEARCHPATH_SEPARATOR_S \
|
||||
LIBDIR "/lv2"
|
||||
|
||||
static void gst_lv2_set_property (GObject * object,
|
||||
guint prop_id, const GValue * value, GParamSpec * pspec);
|
||||
|
@ -881,6 +885,9 @@ plugin_init (GstPlugin * plugin)
|
|||
/* initialize gst controller library */
|
||||
gst_controller_init (NULL, NULL);
|
||||
|
||||
gst_plugin_add_dependency_simple (plugin,
|
||||
"LV2_PATH", GST_LV2_DEFAULT_PATH, NULL, GST_PLUGIN_DEPENDENCY_FLAG_NONE);
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_SIGNAL_PROCESSOR);
|
||||
|
||||
gst_lv2_plugin = plugin;
|
||||
|
|
Loading…
Reference in a new issue