summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossaudio.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-07-08 11:19:19 +0000
committerAndy Wingo <wingo@pobox.com>2005-07-08 11:19:19 +0000
commit6fc2023e8fec8c86ba1008edfd68e8998729318b (patch)
tree83d01640f8ff7789ac5894c16cb5245b3bd57c8b /sys/oss/gstossaudio.c
parent266b874436d0b23d96d07bc09ad52e363c275b58 (diff)
sys/oss/: Port from THREADED+wim's fixes.
Original commit message from CVS: 2005-07-08 Andy Wingo <wingo@pobox.com> * sys/oss/: Port from THREADED+wim's fixes.
Diffstat (limited to 'sys/oss/gstossaudio.c')
-rw-r--r--sys/oss/gstossaudio.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c
index e5f8ee49..4b5866df 100644
--- a/sys/oss/gstossaudio.c
+++ b/sys/oss/gstossaudio.c
@@ -21,7 +21,7 @@
#include "config.h"
#endif
-#include "gst-i18n-plugin.h"
+#include "gst/gst-i18n-plugin.h"
#include "gstosselement.h"
#include "gstosssink.h"
@@ -34,13 +34,10 @@ GST_DEBUG_CATEGORY (oss_debug);
static gboolean
plugin_init (GstPlugin * plugin)
{
- if (!gst_library_load ("gstaudio"))
- return FALSE;
-
- if (!gst_element_register (plugin, "ossmixer", GST_RANK_PRIMARY,
- GST_TYPE_OSSELEMENT) ||
- !gst_element_register (plugin, "osssrc", GST_RANK_PRIMARY,
- GST_TYPE_OSSSRC) ||
+ 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)) {
return FALSE;