ekiga r7208 - in branches/gnome-2-24: . src/endpoints



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

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


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/endpoints/opal-codec-description.cpp

Modified: branches/gnome-2-24/src/endpoints/opal-codec-description.cpp
==============================================================================
--- branches/gnome-2-24/src/endpoints/opal-codec-description.cpp	(original)
+++ branches/gnome-2-24/src/endpoints/opal-codec-description.cpp	Sun Oct 12 16:00:44 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]