[gstreamer-bugs] [Bug 345444] Linking to an audioconvert (pad-added callback) multiple times in a pipeline takes a very long time

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Aug 18 12:07:50 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=345444
 GStreamer | gstreamer (core) | Ver: HEAD CVS





------- Comment #5 from Stefan Kost (gstreamer, gtkdoc dev)  2006-08-18 19:07 UTC -------
this seems to be one of the culprits:
               :int
               :gst_value_compare (const GValue * value1, const GValue *
value2)
   170  0.3831 :{ /* gst_value_compare total:   5895 13.2854 */
               :  GstValueTable *table, *best = NULL;
               :  guint i;
               :
   482  1.0863 :  if (G_VALUE_TYPE (value1) != G_VALUE_TYPE (value2))
               :    return GST_VALUE_UNORDERED;
               :
  1802  4.0611 :  for (i = 0; i < gst_value_table->len; i++) {
   455  1.0254 :    table = &g_array_index (gst_value_table, GstValueTable, i);
  1189  2.6796 :    if (table->type == G_VALUE_TYPE (value1) && table->compare
!= NULL) {
               :      best = table;
               :      break;
               :    }
  1429  3.2205 :    if (g_type_is_a (G_VALUE_TYPE (value1), table->type)) {
               :      if (!best || g_type_is_a (table->type, best->type))
               :        best = table;
               :    }
               :  }
               :  if (best) {
   101  0.2276 :    return best->compare (value1, value2);
               :  }
               :
               :  g_critical ("unable to compare values of type %s\n",
               :      g_type_name (G_VALUE_TYPE (value1)));
               :  return GST_VALUE_UNORDERED;
   267  0.6017 :}


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list