summaryrefslogtreecommitdiffstats
path: root/gst/mixmatrix
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mixmatrix')
-rw-r--r--gst/mixmatrix/mixmatrix.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c
index a795a6f5..7b03c83f 100644
--- a/gst/mixmatrix/mixmatrix.c
+++ b/gst/mixmatrix/mixmatrix.c
@@ -22,7 +22,7 @@
#endif
#include <config.h>
#include <gst/gst.h>
-#include <gst/gstbytestream.h>
+#include <gst/bytestream.h>
#include <gst/audio/audio.h>
#include <string.h>
@@ -500,6 +500,9 @@ plugin_init (GModule *module, GstPlugin *plugin)
{
GstElementFactory *factory;
+ if (!gst_library_load ("gstbytestream"))
+ return FALSE;
+
factory = gst_element_factory_new ("mixmatrix", GST_TYPE_MIXMATRIX,
&mixmatrix_details);
g_return_val_if_fail (factory != NULL, FALSE);