summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2006-04-07 10:48:19 +0000
committerEdward Hervey <bilboed@bilboed.com>2006-04-07 10:48:19 +0000
commit200bb9a5c8fee6dc1d2990b0c51e5f3f3b30b192 (patch)
treee98d3b5401298ab82aa4aff55356ff985a5f5062 /gst
parent7a7a2109fa022387b177f5d8afda8b2b878815f6 (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().
Diffstat (limited to 'gst')
-rw-r--r--gst/avi/gstavidemux.c1
1 files changed, 0 insertions, 1 deletions
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);