summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2014-12-30 14:52:42 +0000
committerTim-Philipp Müller <tim@centricular.com>2014-12-30 14:58:02 +0000
commitd416336a6e9c92a61c59276f6aed8f1e821a142d (patch)
treed6b8a03acd3b36e529765e09e49a160e3bd1511f /tests
parent67d4b85d6a6ac1aef247a99d358ea106b4d23261 (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/rtpaux.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/check/elements/rtpaux.c b/tests/check/elements/rtpaux.c
index 1f410bf22..729604aab 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);