[farsight2/master] Don't try to test for valid case of in-band config

Olivier Crête olivier.crete at collabora.co.uk
Tue Feb 10 05:46:56 PST 2009


---
 tests/check/rtp/codecs.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/tests/check/rtp/codecs.c b/tests/check/rtp/codecs.c
index cf1fc29..320e43e 100644
--- a/tests/check/rtp/codecs.c
+++ b/tests/check/rtp/codecs.c
@@ -563,26 +563,8 @@ _bus_message_element (GstBus *bus, GstMessage *message,
     fs_codec_list_destroy (codecs);
   }
 
-  codec = fs_codec_new (105, "VORBIS", FS_MEDIA_TYPE_AUDIO, 44100);
-  codecs = g_list_prepend (NULL, codec);
-
-  fail_if (fs_stream_set_remote_codecs (cd->stream, codecs, &error),
-      "Succeed in setting vorbis codec without configuration");
-
-  fail_if (error == NULL, "Failed to set vorbis without config, but did not"
-      " get an error");
-
-  fail_unless (error->code == FS_ERROR_NEGOTIATION_FAILED,
-      "Did not get the right error, expected %d, got %d",
-      FS_ERROR_NEGOTIATION_FAILED, error->code);
-
-  g_clear_error (&error);
-
-  fs_codec_list_destroy (codecs);
-
 
   codec = fs_codec_new (105, "VORBIS", FS_MEDIA_TYPE_AUDIO, 44100);
-  fs_codec_add_optional_parameter (codec, "delivery-method", "inline");
   fs_codec_add_optional_parameter (codec, "configuration", config);
   codecs = g_list_prepend (NULL, codec);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list