summaryrefslogtreecommitdiffstats
path: root/ext/ivorbis/vorbis.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ivorbis/vorbis.c')
-rw-r--r--ext/ivorbis/vorbis.c11
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);