summaryrefslogtreecommitdiffstats
path: root/ext/audiofile
diff options
context:
space:
mode:
Diffstat (limited to 'ext/audiofile')
-rw-r--r--ext/audiofile/gstaf.c3
-rw-r--r--ext/audiofile/gstafparse.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/audiofile/gstaf.c b/ext/audiofile/gstaf.c
index 4e2b3e9a..cec38f1e 100644
--- a/ext/audiofile/gstaf.c
+++ b/ext/audiofile/gstaf.c
@@ -25,6 +25,9 @@
static gboolean
plugin_init (GModule *module, GstPlugin *plugin)
{
+ if (!gst_library_load ("gstbytestream"))
+ return FALSE;
+
gst_afsink_plugin_init (module, plugin);
gst_afsrc_plugin_init (module, plugin);
gst_afparse_plugin_init (module, plugin);
diff --git a/ext/audiofile/gstafparse.h b/ext/audiofile/gstafparse.h
index 1cf7b1e1..51877bae 100644
--- a/ext/audiofile/gstafparse.h
+++ b/ext/audiofile/gstafparse.h
@@ -27,7 +27,7 @@
#include <config.h>
#include <gst/gst.h>
-#include <gst/gstbytestream.h>
+#include <gst/bytestream.h>
#include <audiofile.h> /* what else are we to do */
#include <af_vfs.h>