summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-06-01 15:47:32 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-06-01 15:51:16 +0200
commit973c8ddfdf7a1657e850a2c9f95d7de3a4f5a9b8 (patch)
treedd50d561cce114f6aa4cafbf3719130bd07baaf9
parentca0652a572da999aa8a8bc0bd608b9b48929e83d (diff)
matroskamux: _get_pad_template result needs no unref
-rw-r--r--gst/matroska/matroska-mux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index e21e763c6..f6c2710c4 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -328,7 +328,6 @@ gst_matroska_mux_init (GstMatroskaMux * mux, GstMatroskaMuxClass * g_class)
templ =
gst_element_class_get_pad_template (GST_ELEMENT_CLASS (g_class), "src");
mux->srcpad = gst_pad_new_from_template (templ, "src");
- g_object_unref (templ);
gst_pad_set_event_function (mux->srcpad, gst_matroska_mux_handle_src_event);
gst_element_add_pad (GST_ELEMENT (mux), mux->srcpad);