From 78b2064a46bcd633ebd3d3b35c57e390ef743b08 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 24 Oct 2003 20:13:49 +0000 Subject: fixes: 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 --- ext/audiofile/gstaf.c | 3 +++ ext/ivorbis/vorbis.c | 3 +++ ext/mplex/gstmplex.cc | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'ext') 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, -- cgit v1.2.1