From 698037c1f60fcea848d0a11bf3e9246c50815ac0 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 29 Jan 2005 12:43:55 +0000 Subject: [PATCH] gst/rtp/gstrtpgsmenc.c: Use the src template for creating the src pad (#162330). Original commit message from CVS: * gst/rtp/gstrtpgsmenc.c: (gst_rtpgsmenc_init): Use the src template for creating the src pad (#162330). --- ChangeLog | 5 +++++ gst/rtp/gstrtpgsmenc.c | 2 +- gst/rtp/gstrtpgsmpay.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7acbf04547..ad001645e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-29 Ronald S. Bultje + + * gst/rtp/gstrtpgsmenc.c: (gst_rtpgsmenc_init): + Use the src template for creating the src pad (#162330). + 2005-01-29 Ronald S. Bultje * configure.ac: diff --git a/gst/rtp/gstrtpgsmenc.c b/gst/rtp/gstrtpgsmenc.c index 60b6f28f03..9417228308 100644 --- a/gst/rtp/gstrtpgsmenc.c +++ b/gst/rtp/gstrtpgsmenc.c @@ -137,7 +137,7 @@ gst_rtpgsmenc_init (GstRtpGSMEnc * rtpgsmenc) (&gst_rtpgsmenc_sink_template), "sink"); rtpgsmenc->srcpad = gst_pad_new_from_template (gst_static_pad_template_get - (&gst_rtpgsmenc_sink_template), "src"); + (&gst_rtpgsmenc_src_template), "src"); gst_element_add_pad (GST_ELEMENT (rtpgsmenc), rtpgsmenc->sinkpad); gst_element_add_pad (GST_ELEMENT (rtpgsmenc), rtpgsmenc->srcpad); gst_pad_set_chain_function (rtpgsmenc->sinkpad, gst_rtpgsmenc_chain); diff --git a/gst/rtp/gstrtpgsmpay.c b/gst/rtp/gstrtpgsmpay.c index 60b6f28f03..9417228308 100644 --- a/gst/rtp/gstrtpgsmpay.c +++ b/gst/rtp/gstrtpgsmpay.c @@ -137,7 +137,7 @@ gst_rtpgsmenc_init (GstRtpGSMEnc * rtpgsmenc) (&gst_rtpgsmenc_sink_template), "sink"); rtpgsmenc->srcpad = gst_pad_new_from_template (gst_static_pad_template_get - (&gst_rtpgsmenc_sink_template), "src"); + (&gst_rtpgsmenc_src_template), "src"); gst_element_add_pad (GST_ELEMENT (rtpgsmenc), rtpgsmenc->sinkpad); gst_element_add_pad (GST_ELEMENT (rtpgsmenc), rtpgsmenc->srcpad); gst_pad_set_chain_function (rtpgsmenc->sinkpad, gst_rtpgsmenc_chain);