From 33e97185f581d3a5eae857d40a5f88c7ab8a5dbb Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 21 Jun 2007 14:33:58 +0000 Subject: [PATCH] gst/mpegaudioparse/gstmpegaudioparse.c: "She's leaking me", said valgrind. Original commit message from CVS: * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_init): "She's leaking me", said valgrind. --- ChangeLog | 5 +++++ common | 2 +- gst/mpegaudioparse/gstmpegaudioparse.c | 6 ++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4721bc4..b876be2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-21 Edward Hervey + + * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_init): + "She's leaking me", said valgrind. + 2007-06-19 Jan Schmidt * gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_caps_create): diff --git a/common b/common index 6cb0000..14c5a689 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 6cb0000a5a30d4fc580a06489106a637fca024c4 +Subproject commit 14c5a68981278f642e4ca5fd5ca08554fc78b348 diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c index c55c6fa..a871ffc 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.c +++ b/gst/mpegaudioparse/gstmpegaudioparse.c @@ -292,15 +292,13 @@ static void gst_mp3parse_init (GstMPEGAudioParse * mp3parse) { mp3parse->sinkpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&mp3_sink_template), "sink"); + gst_pad_new_from_static_template (&mp3_sink_template, "sink"); gst_pad_set_event_function (mp3parse->sinkpad, gst_mp3parse_sink_event); gst_pad_set_chain_function (mp3parse->sinkpad, gst_mp3parse_chain); gst_element_add_pad (GST_ELEMENT (mp3parse), mp3parse->sinkpad); mp3parse->srcpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&mp3_src_template), "src"); + gst_pad_new_from_static_template (&mp3_src_template, "src"); gst_pad_use_fixed_caps (mp3parse->srcpad); gst_pad_set_event_function (mp3parse->srcpad, mp3parse_src_event); gst_pad_set_query_function (mp3parse->srcpad, mp3parse_src_query); -- 2.7.4