summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2014-07-13 16:04:23 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-07-16 16:45:31 +0200
commitca22ad8da9f6d6523cb47146d7fd86b4b31581f1 (patch)
tree3901d42346920fe854467f4d3b26fd94afc02497 /gst
parent5f722ca182e93bbb7668e6d97a516f868bf52ada (diff)
rtpdtmfmux: Avoid taking an unnecessary ref
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733122
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmanager/gstrtpdtmfmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtpmanager/gstrtpdtmfmux.c b/gst/rtpmanager/gstrtpdtmfmux.c
index e0f6bf4d2..4fed17e0f 100644
--- a/gst/rtpmanager/gstrtpdtmfmux.c
+++ b/gst/rtpmanager/gstrtpdtmfmux.c
@@ -165,7 +165,7 @@ gst_rtp_dtmf_mux_request_new_pad (GstElement * element, GstPadTemplate * templ,
padpriv = gst_pad_get_element_private (pad);
if (gst_element_class_get_pad_template (GST_ELEMENT_GET_CLASS (element),
- "priority_sink_%u") == gst_pad_get_pad_template (pad))
+ "priority_sink_%u") == GST_PAD_PAD_TEMPLATE (pad))
padpriv->priority = TRUE;
GST_OBJECT_UNLOCK (element);
}