diff options
author | Benjamin Otte <otte@gnome.org> | 2003-10-24 20:13:49 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-10-24 20:13:49 +0000 |
commit | f0905f1f5f73b3dde3da184a477029c42a946a45 (patch) | |
tree | b51c35bf511b5b2a5e024dba4ed7b6c2d0e64483 | |
parent | b229328ad248b5732a12dccdf790305b16b2590f (diff) |
fixes:TYPEFIND
Original commit message from CVS:
fixes:
- bytestream needs to be gst_library_loaded again
- typecast correctly on guint8* => guint32* in typefinding
- remove unused/unnecessary files
-rw-r--r-- | ext/dv/gstdvdec.c | 3 | ||||
-rw-r--r-- | ext/flac/gstflac.c | 3 | ||||
-rw-r--r-- | gst/avi/gstavidemux.c | 2 | ||||
-rw-r--r-- | gst/flx/gstflxdec.c | 3 | ||||
-rw-r--r-- | gst/qtdemux/qtdemux.c | 3 |
5 files changed, 14 insertions, 0 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c index ecaa97367..68ff1484b 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/flac/gstflac.c b/ext/flac/gstflac.c index b87670602..b4e9ccec4 100644 --- a/ext/flac/gstflac.c +++ b/ext/flac/gstflac.c @@ -65,6 +65,9 @@ plugin_init (GModule *module, GstPlugin *plugin) GstElementFactory *enc, *dec; GstCaps *raw_caps, *flac_caps; + if (!gst_library_load ("gstbytestream")) + return FALSE; + gst_plugin_set_longname (plugin, "The FLAC Lossless compressor Codec"); /* create an elementfactory for the flacenc element */ diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index f56408b31..f0e6d38ad 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -1927,6 +1927,8 @@ plugin_init (GModule *module, GstPlugin *plugin) -1 /* end */ }; + if (!gst_library_load ("gstbytestream")) + return FALSE; if (!gst_library_load ("gstriff")) return FALSE; diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index 51ceec48b..f4e085c30 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -649,6 +649,9 @@ plugin_init (GModule *module, GstPlugin *plugin) { GstElementFactory *factory; + if (!gst_library_load ("gstbytestream")) + return FALSE; + factory = gst_element_factory_new("flxdec", GST_TYPE_FLXDEC, &flxdec_details); g_return_val_if_fail(factory != NULL, FALSE); gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_PRIMARY); diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index c3cb63fb7..06352f1db 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -191,6 +191,9 @@ plugin_init (GModule *module, GstPlugin *plugin) }; gint i; + if (!gst_library_load ("gstbytestream")) + return FALSE; + factory = gst_element_factory_new ("qtdemux", GST_TYPE_QTDEMUX, &gst_qtdemux_details); g_return_val_if_fail(factory != NULL, FALSE); |