ext/vorbis/vorbisdec.c: Reset the decoder in finalize so that all fields get cleared.
Original commit message from CVS: * ext/vorbis/vorbisdec.c: (vorbis_dec_finalize): Reset the decoder in finalize so that all fields get cleared.
This commit is contained in:
parent
a0354a5b96
commit
8642c1dc9d
@ -1,3 +1,8 @@
|
|||||||
|
2006-07-12 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
|
* ext/vorbis/vorbisdec.c: (vorbis_dec_finalize):
|
||||||
|
Reset the decoder in finalize so that all fields get cleared.
|
||||||
|
|
||||||
2006-07-12 Wim Taymans <wim@fluendo.com>
|
2006-07-12 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst-libs/gst/audio/gstbaseaudiosrc.c:
|
* gst-libs/gst/audio/gstbaseaudiosrc.c:
|
||||||
|
@ -98,6 +98,8 @@ static gboolean vorbis_dec_convert (GstPad * pad,
|
|||||||
|
|
||||||
static gboolean vorbis_dec_sink_query (GstPad * pad, GstQuery * query);
|
static gboolean vorbis_dec_sink_query (GstPad * pad, GstQuery * query);
|
||||||
|
|
||||||
|
static void gst_vorbis_dec_reset (GstVorbisDec * dec);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_vorbis_dec_base_init (gpointer g_class)
|
gst_vorbis_dec_base_init (gpointer g_class)
|
||||||
{
|
{
|
||||||
@ -181,6 +183,8 @@ vorbis_dec_finalize (GObject * object)
|
|||||||
vorbis_comment_clear (&vd->vc);
|
vorbis_comment_clear (&vd->vc);
|
||||||
vorbis_info_clear (&vd->vi);
|
vorbis_info_clear (&vd->vi);
|
||||||
|
|
||||||
|
gst_vorbis_dec_reset (vd);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user