[farsight2/master] Oops, had inverted the return values of codec_needs_config

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:22:56 PST 2008


---
 gst/fsrtpconference/fs-rtp-specific-nego.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-specific-nego.c b/gst/fsrtpconference/fs-rtp-specific-nego.c
index fae6b25..88f7372 100644
--- a/gst/fsrtpconference/fs-rtp-specific-nego.c
+++ b/gst/fsrtpconference/fs-rtp-specific-nego.c
@@ -98,9 +98,9 @@ codec_needs_config (FsCodec *codec)
         for (j = 0; sdp_compat_checks[i].config_param[j]; j++)
           if (!g_ascii_strcasecmp (sdp_compat_checks[i].config_param[j],
                   param->name))
-            return TRUE;
+            return FALSE;
       }
-      return FALSE;
+      return TRUE;
     }
 
   return FALSE;
-- 
1.5.6.5




More information about the farsight-commits mailing list