[farsight2/master] Emit new component-exposing signal
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:28 PST 2008
---
transmitters/nice/fs-nice-stream-transmitter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 33a25d7..c9e07db 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -1093,6 +1093,8 @@ agent_state_changed (NiceAgent *agent,
GST_DEBUG ("Stream: %u Component %u has state %u",
self->priv->stream_id, component_id, state);
+ g_signal_emit_by_name (self, "state-changed", component_id, fs_state);
+
FS_NICE_STREAM_TRANSMITTER_LOCK (self);
self->priv->component_states[component_id - 1] = fs_state;
--
1.5.6.5
More information about the farsight-commits
mailing list