diff options
author | Christian Schaller <uraeus@gnome.org> | 2003-03-01 14:48:00 +0000 |
---|---|---|
committer | Christian Schaller <uraeus@gnome.org> | 2003-03-01 14:48:00 +0000 |
commit | 3cd58ad6f9c3b3bc31cad9baffac616bf3e2c231 (patch) | |
tree | d8c3b7f24185bfd3a2351101545ed03fcbf7e4b8 /ext/ivorbis/vorbis.c | |
parent | 7912d9becd1893d132f6f69af4875c726c40dc63 (diff) | |
download | gst-plugins-bad-3cd58ad6f9c3b3bc31cad9baffac616bf3e2c231.tar.gz gst-plugins-bad-3cd58ad6f9c3b3bc31cad9baffac616bf3e2c231.tar.bz2 gst-plugins-bad-3cd58ad6f9c3b3bc31cad9baffac616bf3e2c231.zip |
commit first part of ivorbis fixes
Original commit message from CVS:
commit first part of ivorbis fixes
Diffstat (limited to 'ext/ivorbis/vorbis.c')
-rw-r--r-- | ext/ivorbis/vorbis.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ext/ivorbis/vorbis.c b/ext/ivorbis/vorbis.c index 5ac26297..f6014bd8 100644 --- a/ext/ivorbis/vorbis.c +++ b/ext/ivorbis/vorbis.c @@ -23,10 +23,9 @@ #include <tremor/ivorbisfile.h> #include <gst/bytestream/bytestream.h> -extern GType vorbisfile_get_type(void); +extern GType ivorbisfile_get_type(void); -extern GstElementDetails vorbisfile_details; -extern GstElementDetails vorbisenc_details; +extern GstElementDetails ivorbisfile_details; static GstCaps* vorbis_type_find (GstBuffer *buf, gpointer private); @@ -98,7 +97,7 @@ vorbis_type_find (GstBuffer *buf, gpointer private) static gboolean plugin_init (GModule *module, GstPlugin *plugin) { - GstElementFactory *enc, *file; + GstElementFactory *file; GstTypeFactory *type; GstCaps *raw_caps, *vorbis_caps, *raw_caps2; @@ -118,8 +117,8 @@ plugin_init (GModule *module, GstPlugin *plugin) GST_PAD_ALWAYS, raw_caps, NULL); /* create an elementfactory for the vorbisfile element */ - file = gst_element_factory_new ("ivorbisfile", vorbisfile_get_type(), - &vorbisfile_details); + file = gst_element_factory_new ("tremor", ivorbisfile_get_type(), + &ivorbisfile_details); g_return_val_if_fail(file != NULL, FALSE); gst_element_factory_set_rank (file, GST_ELEMENT_RANK_PRIMARY); |