summaryrefslogtreecommitdiffstats
path: root/ext/dv
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dv')
-rw-r--r--ext/dv/gstdvdec.c3
-rw-r--r--ext/dv/gstdvdec.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index ecaa9736..68ff1484 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -1006,6 +1006,9 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstElementFactory *factory;
GstTypeFactory *type;
+ if (!gst_library_load ("gstbytestream"))
+ return FALSE;
+
/* We need to create an ElementFactory for each element we provide.
* This consists of the name of the element, the GType identifier,
* and a pointer to the details structure at the top of the file.
diff --git a/ext/dv/gstdvdec.h b/ext/dv/gstdvdec.h
index cced0803..14525d1a 100644
--- a/ext/dv/gstdvdec.h
+++ b/ext/dv/gstdvdec.h
@@ -29,7 +29,7 @@ extern "C" {
#include <libdv/dv.h>
-#include <gst/gstbytestream.h>
+#include <gst/bytestream.h>
/* This is the definition of the element's object structure. */