[farsight2/master] Make the stream transmitter fully private

Olivier Crête olivier.crete at collabora.co.uk
Tue Jan 6 17:41:35 PST 2009


---
 gst-libs/gst/farsight/fs-stream.c |    2 +-
 tests/check/rtp/conference.c      |    5 -----
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-stream.c b/gst-libs/gst/farsight/fs-stream.c
index adfbb83..ae8da5f 100644
--- a/gst-libs/gst/farsight/fs-stream.c
+++ b/gst-libs/gst/farsight/fs-stream.c
@@ -303,7 +303,7 @@ fs_stream_class_init (FsStreamClass *klass)
         "The transmitter use by the stream",
         "An FsStreamTransmitter used by this stream",
         FS_TYPE_STREAM_TRANSMITTER,
-        G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+        G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
 
   /**
    * FsStream::error:
diff --git a/tests/check/rtp/conference.c b/tests/check/rtp/conference.c
index c16f7fa..8239841 100644
--- a/tests/check/rtp/conference.c
+++ b/tests/check/rtp/conference.c
@@ -63,7 +63,6 @@ GST_START_TEST (test_rtpconference_new)
   GstElement *conf = NULL;
   FsSession *sess = NULL;
   FsParticipant *part = NULL;
-  FsStreamTransmitter *stt = NULL;
   FsStreamDirection dir;
 
   dat = setup_simple_conference (1, "fsrtpconference", "bob at 127.0.0.1");
@@ -105,7 +104,6 @@ GST_START_TEST (test_rtpconference_new)
   g_object_get (st->stream,
       "participant", &part,
       "session", &sess,
-      "stream-transmitter", &stt,
       "direction", &dir,
       NULL);
   ts_fail_unless (part == st->participant, "The stream does not have the right"
@@ -114,9 +112,6 @@ GST_START_TEST (test_rtpconference_new)
   ts_fail_unless (sess == dat->session, "The stream does not have the right"
       " session");
   g_object_unref (sess);
-  ts_fail_unless (FS_IS_STREAM_TRANSMITTER (stt), "The stream transmitter is not"
-      " a stream transmitter");
-  g_object_unref (stt);
   ts_fail_unless (dir == FS_DIRECTION_BOTH, "The direction is not both");
 
   g_object_set (st->stream, "direction", FS_DIRECTION_NONE, NULL);
-- 
1.5.6.5




More information about the farsight-commits mailing list