[farsight2/master] Remove farsight-codecs-ready message, use farsight-codecs-changed instead:

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:17 PST 2008


---
 gst-libs/gst/farsight/fs-session.c |   13 -------------
 tests/check/main/rtpcodecs.c       |    3 +--
 2 files changed, 1 insertions(+), 15 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-session.c b/gst-libs/gst/farsight/fs-session.c
index 106fbdd..a5b746e 100644
--- a/gst-libs/gst/farsight/fs-session.c
+++ b/gst-libs/gst/farsight/fs-session.c
@@ -66,19 +66,6 @@
  * next "farsight-codecs-changed" message until reading the codecs.
  * </para>
  * </refsect2>
- * <refsect2><title>The "<literal>farsight-codecs-ready</literal>"
- *  message</title>
- * |[
- * "session"          #FsSession          The session that emits the message
- * ]|
- * <para>
- * This message is emitted when all of the configuration data for the codecs
- * have been discovered, it means that the #FsSession:codecs-ready property
- * should now be %TRUE, if it is not, it means something caused the properties
- * to be re-discovered and one should wait until the next
- * "<literal>farsight-codecs-ready</literal>" message.
- * </para>
- * </refsect2>
  * <para>
  */
 
diff --git a/tests/check/main/rtpcodecs.c b/tests/check/main/rtpcodecs.c
index 2b6415c..393c264 100644
--- a/tests/check/main/rtpcodecs.c
+++ b/tests/check/main/rtpcodecs.c
@@ -452,8 +452,7 @@ _bus_message_element (GstBus *bus, GstMessage *message,
   const gchar config2[] = "sadsajdsakdjlksajdsajldsaldjsalkjdl";
   GError *error = NULL;
 
-  if (!gst_structure_has_name (s, "farsight-codecs-ready") &&
-      !gst_structure_has_name (s, "farsight-codecs-changed"))
+  if (!gst_structure_has_name (s, "farsight-codecs-changed"))
     return;
 
   g_object_get (cd->dat->session, "codecs-ready", &ready, NULL);
-- 
1.5.6.5




More information about the farsight-commits mailing list