summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossaudio.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-12-14 22:48:18 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-12-14 22:48:18 +0000
commitc7177d2392956c86ee585a9379760472d59f7a8f (patch)
tree5aa7d2624f12f1347f6e4cb057bf5a4e36e0fd6f /sys/oss/gstossaudio.c
parent7c399e62b5d35ab1fb472b46e2ed5198a84c3642 (diff)
it's broken and it failed to load during the last few months. If anyone wants to revive it, have fun finding it back ...
Original commit message from CVS: Remove ossgst... It's a crude hack (beyond ugly), it's broken and it failed to load during the last few months. If anyone wants to revive it, have fun finding it back in the CVS history
Diffstat (limited to 'sys/oss/gstossaudio.c')
-rw-r--r--sys/oss/gstossaudio.c21
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;
}