mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +00:00
commit first part of ivorbis fixes
Original commit message from CVS: commit first part of ivorbis fixes
This commit is contained in:
parent
7912d9becd
commit
3cd58ad6f9
2 changed files with 265 additions and 266 deletions
|
@ -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);
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue