summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/oss/gstossaudio.c')
-rw-r--r--sys/oss/gstossaudio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c
index 219a0367..500cea67 100644
--- a/sys/oss/gstossaudio.c
+++ b/sys/oss/gstossaudio.c
@@ -23,6 +23,7 @@
#include "gst/gst-i18n-plugin.h"
+#include "gstossmixerelement.h"
#include "gstosssink.h"
#include "gstosssrc.h"
@@ -33,8 +34,8 @@ GST_DEBUG_CATEGORY (oss_debug);
static gboolean
plugin_init (GstPlugin * plugin)
{
- if ( /*!gst_element_register (plugin, "ossmixer", GST_RANK_PRIMARY,
- GST_TYPE_OSSELEMENT) || */
+ if (!gst_element_register (plugin, "ossmixer", GST_RANK_NONE,
+ GST_TYPE_OSS_MIXER_ELEMENT) ||
!gst_element_register (plugin, "osssrc", GST_RANK_PRIMARY,
GST_TYPE_OSS_SRC) ||
!gst_element_register (plugin, "osssink", GST_RANK_SECONDARY,