diff options
Diffstat (limited to 'sys/oss/gstossaudio.c')
-rw-r--r-- | sys/oss/gstossaudio.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c index b796664d..c087d60e 100644 --- a/sys/oss/gstossaudio.c +++ b/sys/oss/gstossaudio.c @@ -24,40 +24,21 @@ #include "gstosselement.h" #include "gstosssink.h" #include "gstosssrc.h" -#include "gstossgst.h" extern gchar *__gst_oss_plugin_dir; static gboolean plugin_init (GstPlugin *plugin) { - guint i = 0; - gchar **path; - if (!gst_library_load ("gstaudio")) return FALSE; - /* get the path of this plugin, we assume the helper progam lives in the */ - /* same directory. */ - path = g_strsplit (plugin->filename, G_DIR_SEPARATOR_S, 0); - while (path[i]) { - i++; - if (path[i] == NULL) { - g_free (path[i-1]); - path[i-1] = NULL; - } - } - __gst_oss_plugin_dir = g_strjoinv (G_DIR_SEPARATOR_S, path); - g_strfreev (path); - if (!gst_element_register (plugin, "ossmixer", GST_RANK_PRIMARY, GST_TYPE_OSSELEMENT) || !gst_element_register (plugin, "osssrc", GST_RANK_PRIMARY, GST_TYPE_OSSSRC) || !gst_element_register (plugin, "osssink", GST_RANK_PRIMARY, - GST_TYPE_OSSSINK) || - !gst_element_register (plugin, "ossgst", GST_RANK_MARGINAL, - GST_TYPE_OSSGST)) { + GST_TYPE_OSSSINK)) { return FALSE; } |