[farsight2/master] Only set relay info on right component
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:35 PST 2008
---
transmitters/nice/fs-nice-stream-transmitter.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 5099927..74c1033 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -1071,7 +1071,8 @@ fs_nice_stream_transmitter_build (FsNiceStreamTransmitter *self,
const GstStructure *s = gst_value_get_structure (val);
guint component_id;
- if (gst_structure_get_uint (s, "component", &component_id))
+ if (gst_structure_get_uint (s, "component", &component_id) &&
+ component_id == c)
{
fs_nice_stream_transmitter_set_relay_info (self, s, c);
relay_info_set = TRUE;
--
1.5.6.5
More information about the farsight-commits
mailing list