ekiga r7213 - trunk/src/endpoints



Author: dsandras
Date: Sun Oct 12 17:44:09 2008
New Revision: 7213
URL: http://svn.gnome.org/viewvc/ekiga?rev=7213&view=rev

Log:
Ignore OPAL codecs with empty format names. Prevents
SetMediaFormatOrder loop.


Modified:
   trunk/src/endpoints/opal-codec-description.cpp

Modified: trunk/src/endpoints/opal-codec-description.cpp
==============================================================================
--- trunk/src/endpoints/opal-codec-description.cpp	(original)
+++ trunk/src/endpoints/opal-codec-description.cpp	Sun Oct 12 17:44:09 2008
@@ -71,6 +71,9 @@
 
       Ekiga::CodecDescription desc = Opal::CodecDescription (list [i]);
 
+      if (desc.name.empty ())
+        continue;
+
       Ekiga::CodecList::iterator it = 
         search_n ((*this).begin (), (*this).end (), 1, desc, same_codec_desc);
       if (it == (*this).end ()) 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]