From d416336a6e9c92a61c59276f6aed8f1e821a142d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 30 Dec 2014 14:52:42 +0000 Subject: [PATCH] tests: rtpaux: use alawenc/dec in these tests instead of Speex They should always be built, while the speex elements are not. https://bugzilla.gnome.org/show_bug.cgi?id=742098 --- tests/check/elements/rtpaux.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/check/elements/rtpaux.c b/tests/check/elements/rtpaux.c index 1f410bf..729604a 100644 --- a/tests/check/elements/rtpaux.c +++ b/tests/check/elements/rtpaux.c @@ -218,8 +218,8 @@ GST_START_TEST (test_simple_rtpbin_aux) rtpbinsend = gst_element_factory_make ("rtpbin", "rtpbinsend"); g_object_set (rtpbinsend, "latency", 200, "do-retransmission", TRUE, NULL); src = gst_element_factory_make ("audiotestsrc", "src"); - encoder = gst_element_factory_make ("speexenc", "encoder"); - rtppayloader = gst_element_factory_make ("rtpspeexpay", "rtppayloader"); + encoder = gst_element_factory_make ("alawenc", "encoder"); + rtppayloader = gst_element_factory_make ("rtppcmapay", "rtppayloader"); rtprtxsend = gst_element_factory_make ("rtprtxsend", "rtprtxsend"); sendrtp_udpsink = gst_element_factory_make ("udpsink", "sendrtp_udpsink"); g_object_set (sendrtp_udpsink, "host", "127.0.0.1", NULL); @@ -238,7 +238,7 @@ GST_START_TEST (test_simple_rtpbin_aux) g_object_set (recvrtp_udpsrc, "port", 5006, NULL); rtpcaps = gst_caps_from_string - ("application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)SPEEX,encoding-params=(string)1,octet-align=(string)1"); + ("application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA,payload=(int)8"); g_object_set (recvrtp_udpsrc, "caps", rtpcaps, NULL); gst_caps_unref (rtpcaps); recvrtcp_udpsrc = gst_element_factory_make ("udpsrc", "recvrtcp_udpsrc"); @@ -249,8 +249,8 @@ GST_START_TEST (test_simple_rtpbin_aux) g_object_set (recvrtcp_udpsink, "sync", FALSE, NULL); g_object_set (recvrtcp_udpsink, "async", FALSE, NULL); rtprtxreceive = gst_element_factory_make ("rtprtxreceive", "rtprtxreceive"); - rtpdepayloader = gst_element_factory_make ("rtpspeexdepay", "rtpdepayloader"); - decoder = gst_element_factory_make ("speexdec", "decoder"); + rtpdepayloader = gst_element_factory_make ("rtppcmadepay", "rtpdepayloader"); + decoder = gst_element_factory_make ("alawdec", "decoder"); converter = gst_element_factory_make ("identity", "converter"); sink = gst_element_factory_make ("fakesink", "sink"); g_object_set (sink, "sync", TRUE, NULL); -- 2.7.4