From ca22ad8da9f6d6523cb47146d7fd86b4b31581f1 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sun, 13 Jul 2014 16:04:23 +0200 Subject: [PATCH] rtpdtmfmux: Avoid taking an unnecessary ref Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733122 --- gst/rtpmanager/gstrtpdtmfmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtpmanager/gstrtpdtmfmux.c b/gst/rtpmanager/gstrtpdtmfmux.c index e0f6bf4..4fed17e 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); } -- 2.7.4