mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
ext/mad/gstmad.c: Chain up at the end of the function.
Original commit message from CVS: * ext/mad/gstmad.c: Chain up at the end of the function.
This commit is contained in:
parent
bebe270713
commit
c41fa79420
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-01-21 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* ext/mad/gstmad.c:
|
||||||
|
Chain up at the end of the function.
|
||||||
|
|
||||||
2008-01-19 Sebastian Dröge <slomo@circular-chaos.org>
|
2008-01-19 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* ext/mad/gstid3tag.c: (gst_id3_tag_class_init):
|
* ext/mad/gstid3tag.c: (gst_id3_tag_class_init):
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit b6bd1a35b641237d016496039e474dee4230de76
|
Subproject commit 662f544d56a6d6ef20b8ea5f56e975f9e139bc78
|
|
@ -239,6 +239,7 @@ gst_mad_init (GstMad * mad, GstMadClass * klass)
|
||||||
gst_pad_set_chain_function (mad->sinkpad, GST_DEBUG_FUNCPTR (gst_mad_chain));
|
gst_pad_set_chain_function (mad->sinkpad, GST_DEBUG_FUNCPTR (gst_mad_chain));
|
||||||
gst_pad_set_event_function (mad->sinkpad,
|
gst_pad_set_event_function (mad->sinkpad,
|
||||||
GST_DEBUG_FUNCPTR (gst_mad_sink_event));
|
GST_DEBUG_FUNCPTR (gst_mad_sink_event));
|
||||||
|
|
||||||
template = gst_static_pad_template_get (&mad_src_template_factory);
|
template = gst_static_pad_template_get (&mad_src_template_factory);
|
||||||
mad->srcpad = gst_pad_new_from_template (template, "src");
|
mad->srcpad = gst_pad_new_from_template (template, "src");
|
||||||
gst_object_unref (template);
|
gst_object_unref (template);
|
||||||
|
@ -250,6 +251,7 @@ gst_mad_init (GstMad * mad, GstMadClass * klass)
|
||||||
gst_pad_set_query_type_function (mad->srcpad,
|
gst_pad_set_query_type_function (mad->srcpad,
|
||||||
GST_DEBUG_FUNCPTR (gst_mad_get_query_types));
|
GST_DEBUG_FUNCPTR (gst_mad_get_query_types));
|
||||||
gst_pad_use_fixed_caps (mad->srcpad);
|
gst_pad_use_fixed_caps (mad->srcpad);
|
||||||
|
|
||||||
mad->tempbuffer = g_malloc (MAD_BUFFER_MDLEN * 3);
|
mad->tempbuffer = g_malloc (MAD_BUFFER_MDLEN * 3);
|
||||||
mad->tempsize = 0;
|
mad->tempsize = 0;
|
||||||
mad->base_byte_offset = 0;
|
mad->base_byte_offset = 0;
|
||||||
|
@ -279,10 +281,10 @@ gst_mad_dispose (GObject * object)
|
||||||
|
|
||||||
gst_mad_set_index (GST_ELEMENT (object), NULL);
|
gst_mad_set_index (GST_ELEMENT (object), NULL);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
|
||||||
|
|
||||||
g_free (mad->tempbuffer);
|
g_free (mad->tempbuffer);
|
||||||
mad->tempbuffer = NULL;
|
mad->tempbuffer = NULL;
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue