diff options
Diffstat (limited to 'gst/rtp/gstrtpL16depay.c')
| -rw-r--r-- | gst/rtp/gstrtpL16depay.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gst/rtp/gstrtpL16depay.c b/gst/rtp/gstrtpL16depay.c index d133fe9a..60e2bcd5 100644 --- a/gst/rtp/gstrtpL16depay.c +++ b/gst/rtp/gstrtpL16depay.c @@ -140,11 +140,10 @@ static void gst_rtp_L16depay_init (GstRtpL16Depay * rtpL16depay) { rtpL16depay->srcpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&gst_rtp_L16depay_src_template), "src"); + gst_pad_new_from_static_template (&gst_rtp_L16depay_src_template, "src"); rtpL16depay->sinkpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&gst_rtp_L16depay_sink_template), "sink"); + gst_pad_new_from_static_template (&gst_rtp_L16depay_sink_template, + "sink"); gst_element_add_pad (GST_ELEMENT (rtpL16depay), rtpL16depay->srcpad); gst_element_add_pad (GST_ELEMENT (rtpL16depay), rtpL16depay->sinkpad); gst_pad_set_chain_function (rtpL16depay->sinkpad, gst_rtp_L16depay_chain); |
