diff options
author | Edward Hervey <bilboed@bilboed.com> | 2006-04-07 10:48:19 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2006-04-07 10:48:19 +0000 |
commit | 200bb9a5c8fee6dc1d2990b0c51e5f3f3b30b192 (patch) | |
tree | e98d3b5401298ab82aa4aff55356ff985a5f5062 | |
parent | 7a7a2109fa022387b177f5d8afda8b2b878815f6 (diff) |
gst/avi/gstavidemux.c: Don't unref the GstPadTemplate returned by gst_element_class_get_pad_template().
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream):
Don't unref the GstPadTemplate returned by
gst_element_class_get_pad_template().
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/avi/gstavidemux.c | 1 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2006-04-07 Edward Hervey <edward@fluendo.com> + + * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream): + Don't unref the GstPadTemplate returned by + gst_element_class_get_pad_template(). + 2006-04-06 Tim-Philipp Müller <tim at centricular dot net> Patch by: Brian Cameron <brian dot cameron at sun dot com> diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 9f704e7e..e4d78c3d 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -1127,7 +1127,6 @@ gst_avi_demux_parse_stream (GstElement * element, GstBuffer * buf) if (stream->pad) gst_object_unref (stream->pad); pad = stream->pad = gst_pad_new_from_template (templ, padname); - gst_object_unref (templ); stream->last_flow = GST_FLOW_OK; stream->idx_duration = GST_CLOCK_TIME_NONE; g_free (padname); |