[Bug 702545] tags: xmp: adding tags is very slow

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 18 23:49:15 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702545
  GStreamer | gst-plugins-base | 0.10.35

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |bilboed at gmail.com
     Ever Confirmed|0                           |1

--- Comment #2 from Edward Hervey <bilboed at gmail.com> 2013-06-19 06:49:12 UTC ---
There are two culprits:
1) gst_tag_list_add does copies of everything it receives, GValue
initialization/copy/destroy, ....
2) initial expensive usage of g_slist_append (trivial patch to follow)

Regarding 1) it would be great if we had a method to "take" a provided GValue
instead of copying it.

In the same way gst_structure_take_value and gst_value_{array|list}_take_value
work.

-- 
Configure bugmail: https://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