summaryrefslogtreecommitdiffstats
path: root/ext/ivorbis/vorbis.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ivorbis/vorbis.c')
-rw-r--r--ext/ivorbis/vorbis.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/ivorbis/vorbis.c b/ext/ivorbis/vorbis.c
index 35919059..9b12611c 100644
--- a/ext/ivorbis/vorbis.c
+++ b/ext/ivorbis/vorbis.c
@@ -21,7 +21,7 @@
#include <gst/gst.h>
#include <tremor/ivorbiscodec.h>
#include <tremor/ivorbisfile.h>
-#include <gst/gstbytestream.h>
+#include <gst/bytestream.h>
extern GType ivorbisfile_get_type(void);
@@ -104,6 +104,9 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstTypeFactory *type;
GstCaps *raw_caps, *vorbis_caps, *raw_caps2;
+ if (!gst_library_load ("gstbytestream"))
+ return FALSE;
+
gst_plugin_set_longname (plugin, "The OGG Vorbis Codec");
raw_caps = raw_caps_factory ();