[farsight2/master] Add stream-transmitter property to the FsStream
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:18:53 PST 2008
---
gst-libs/gst/farsight/fs-stream.c | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/gst-libs/gst/farsight/fs-stream.c b/gst-libs/gst/farsight/fs-stream.c
index a42c998..e2052ed 100644
--- a/gst-libs/gst/farsight/fs-stream.c
+++ b/gst-libs/gst/farsight/fs-stream.c
@@ -42,6 +42,7 @@
#include "fs-stream.h"
#include "fs-marshal.h"
#include "fs-codec.h"
+#include "fs-stream-transmitter.h"
#include <gst/gst.h>
@@ -69,7 +70,8 @@ enum
PROP_CURRENT_RECV_CODEC,
PROP_DIRECTION,
PROP_PARTICIPANT,
- PROP_SESSION
+ PROP_SESSION,
+ PROP_STREAM_TRANSMITTER
};
struct _FsStreamPrivate
@@ -250,6 +252,20 @@ fs_stream_class_init (FsStreamClass *klass)
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
/**
+ * FsStream:stream-transmitter:
+ *
+ * The #FsStreamTransmitter for this stream.
+ *
+ */
+ g_object_class_install_property (gobject_class,
+ PROP_STREAM_TRANSMITTER,
+ g_param_spec_object ("stream-transmitter",
+ "The transmitter use by the stream",
+ "An FsStreamTransmitter used by this stream",
+ FS_TYPE_STREAM_TRANSMITTER,
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+
+ /**
* FsStream::error:
* @self: #FsStream that emitted the signal
* @errorno: The number of the error
--
1.5.6.5
More information about the farsight-commits
mailing list