From d9e4457faa360b470a5ae418e3444fccd6c0a5de Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 1 Oct 2003 13:14:50 +0000 Subject: New typefind system: bytestream is now part of the core all plugins have been modified to use this new typefind syste... Original commit message from CVS: New typefind system: * bytestream is now part of the core * all plugins have been modified to use this new typefind system * asf typefinding added * mpeg video stream typefiding removed because it's broken * duplicate typefind entries removed * extra id3 typefinding added, because we've seen 4 types of files (riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs to work. Instead, I've added an id3 element and let it redo typefiding after the id3 header. this needs a hack because spider only typefinds once. We can remove this hack once spider supports multiple typefinds. * with all this, mp3 typefinding is semi-rewritten * id3 typefinding in flac/vorbis is removed, it's no longer needed * fixed spider and gst-typefind to use this, too. * Other general cleanups --- ext/ivorbis/vorbis.c | 6 +----- ext/ivorbis/vorbisfile.c | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'ext/ivorbis') diff --git a/ext/ivorbis/vorbis.c b/ext/ivorbis/vorbis.c index 65ef4b06..35919059 100644 --- a/ext/ivorbis/vorbis.c +++ b/ext/ivorbis/vorbis.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include extern GType ivorbisfile_get_type(void); @@ -132,10 +132,6 @@ plugin_init (GModule *module, GstPlugin *plugin) gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (file)); - /* this filter needs the bytestream package */ - if (!gst_library_load ("gstbytestream")) - return FALSE; - type = gst_type_factory_new (&vorbisdefinition); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (type)); diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c index 86c7baf2..5b270fb9 100644 --- a/ext/ivorbis/vorbisfile.c +++ b/ext/ivorbis/vorbisfile.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #define GST_TYPE_IVORBISFILE \ (ivorbisfile_get_type()) -- cgit v1.2.1