Commit ca22ad8d authored by Sebastian Rasmussen's avatar Sebastian Rasmussen Committed by Sebastian Dröge

rtpdtmfmux: Avoid taking an unnecessary ref

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733122
parent 5f722ca1
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment