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).
This commit is contained in:
Ronald S. Bultje 2005-01-29 12:43:55 +00:00
parent 62f918a93b
commit 698037c1f6
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-01-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/rtp/gstrtpgsmenc.c: (gst_rtpgsmenc_init):
Use the src template for creating the src pad (#162330).
2005-01-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* configure.ac:

View file

@ -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);

View file

@ -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);