[farsight2/master] Don't enforce having one relay info per 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 | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index e16d6b9..076d9b1 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -898,15 +898,6 @@ fs_nice_stream_transmitter_build (FsNiceStreamTransmitter *self,
if (self->priv->relay_info)
{
- if (self->priv->relay_info->n_values != self->priv->transmitter->components)
- {
- g_set_error (error, FS_ERROR, FS_ERROR_INVALID_ARGUMENTS,
- "You have %u elements in your relayinfo, but you have %d components",
- self->priv->relay_info->n_values,
- self->priv->transmitter->components);
- return FALSE;
- }
-
for (i = 0; i < self->priv->relay_info->n_values; i++)
{
GValue *val = g_value_array_get_nth (self->priv->relay_info, i);
--
1.5.6.5
More information about the farsight-commits
mailing list