summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpilbcpay.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-10-31 10:52:31 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-10-31 10:52:31 +0000
commiteead7e23b70c5ebb1af4d52c2cd8bea1bc9db2aa (patch)
treefcea1801a77f484da4e455e0af2dba1d744a71c1 /gst/rtp/gstrtpilbcpay.c
parent8ac0c0e09a8a4c5cc8c41237aa3980545ea18d2a (diff)
gst/rtp/: Fix and activate ILBC pay and depayloaders. Fixes #368162.
Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpilbcpay.c: (gst_rtpilbcpay_init), (gst_rtpilbcpay_setcaps): Fix and activate ILBC pay and depayloaders. Fixes #368162.
Diffstat (limited to 'gst/rtp/gstrtpilbcpay.c')
-rw-r--r--gst/rtp/gstrtpilbcpay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpilbcpay.c b/gst/rtp/gstrtpilbcpay.c
index cb9409cd..40e431ff 100644
--- a/gst/rtp/gstrtpilbcpay.c
+++ b/gst/rtp/gstrtpilbcpay.c
@@ -106,7 +106,7 @@ gst_rtpilbcpay_init (GstRTPILBCPay * rtpilbcpay, GstRTPILBCPayClass * klass)
rtpilbcpay->mode = -1;
/* tell basertpaudiopayload that this is a frame based codec */
- gst_basertpaudiopayload_set_frame_based (basertpaudiopayload);
+ gst_base_rtp_audio_payload_set_frame_based (basertpaudiopayload);
}
static gboolean
@@ -134,7 +134,7 @@ gst_rtpilbcpay_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps)
gst_basertppayload_set_options (basertppayload, "audio", TRUE, "iLBC",
8000);
/* set options for this frame based audio codec */
- gst_basertpaudiopayload_set_frame_options (basertpaudiopayload,
+ gst_base_rtp_audio_payload_set_frame_options (basertpaudiopayload,
mode, mode == 30 ? 50 : 38);
} else {
return FALSE;