summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-10-24 20:13:49 +0000
committerBenjamin Otte <otte@gnome.org>2003-10-24 20:13:49 +0000
commit78b2064a46bcd633ebd3d3b35c57e390ef743b08 (patch)
tree1ff7e739fe9b8b4629d579ac0ac656925910ce7a /ext
parent4de40d8ccd21dca15aaf792a842d266604cc59a7 (diff)
downloadgst-plugins-bad-78b2064a46bcd633ebd3d3b35c57e390ef743b08.tar.gz
gst-plugins-bad-78b2064a46bcd633ebd3d3b35c57e390ef743b08.tar.bz2
gst-plugins-bad-78b2064a46bcd633ebd3d3b35c57e390ef743b08.zip
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
Diffstat (limited to 'ext')
-rw-r--r--ext/audiofile/gstaf.c3
-rw-r--r--ext/ivorbis/vorbis.c3
-rw-r--r--ext/mplex/gstmplex.cc4
3 files changed, 8 insertions, 2 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/ivorbis/vorbis.c b/ext/ivorbis/vorbis.c
index a68e01a1..9b12611c 100644
--- a/ext/ivorbis/vorbis.c
+++ b/ext/ivorbis/vorbis.c
@@ -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 ();
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc
index 523cc74f..8f8a94a3 100644
--- a/ext/mplex/gstmplex.cc
+++ b/ext/mplex/gstmplex.cc
@@ -578,8 +578,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstElementFactory *factory;
/* this filter needs the bytestream package */
-/* if (!gst_library_load ("gstbytestream"))
- return FALSE;*/
+ if (!gst_library_load ("gstbytestream"))
+ return FALSE;
/* create an elementfactory for the avi_demux element */
factory = gst_element_factory_new ("mplex",GST_TYPE_MPLEX,