[farsight2/master] Add farsight-codecs-changed signal to FsSession
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:34 PST 2008
---
gst-libs/gst/farsight/fs-session.c | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/gst-libs/gst/farsight/fs-session.c b/gst-libs/gst/farsight/fs-session.c
index a74bee9..a5b746e 100644
--- a/gst-libs/gst/farsight/fs-session.c
+++ b/gst-libs/gst/farsight/fs-session.c
@@ -40,7 +40,8 @@
* This will communicate asynchronous events to the user through #GstMessage
* of type #GST_MESSAGE_ELEMENT sent over the #GstBus.
* </para>
- * <refsect2><title>The "<literal>farsight-send-codec-changed</literal>" message</title>
+ * <refsect2><title>The "<literal>farsight-send-codec-changed</literal>"
+ * message</title>
* |[
* "session" #FsSession The session that emits the message
* "codec" #FsCodec The new send codec
@@ -50,6 +51,21 @@
* #FsSession:current-send-codec property changes.
* </para>
* </refsect2>
+ * <refsect2><title>The "<literal>farsight-codecs-changed</literal>"
+ * message</title>
+ * |[
+ * "session" #FsSession The session that emits the message
+ * ]|
+ * <para>
+ * This message is sent on the bus when the value of the
+ * #FsSession:negotiated-codecs or #FsSession:local-codecs properties change.
+ * If one is using codecs that have configuration data that needs to be
+ * transmitted reliably, once should check the value of #FsSession:codecs-ready
+ * property to make sure all of the codecs configuration are ready and have been
+ * discovered before using the codecs. If its not %TRUE, one should wait for the
+ * next "farsight-codecs-changed" message until reading the codecs.
+ * </para>
+ * </refsect2>
* <para>
*/
--
1.5.6.5
More information about the farsight-commits
mailing list