[Bug 795139] Various patches on rtpsession

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 10 18:42:24 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795139

--- Comment #6 from HÃ¥vard Graff (hgr) <havard.graff at gmail.com> ---
Created attachment 370746
  --> https://bugzilla.gnome.org/attachment.cgi?id=370746&action=edit
rtpsession: Avoid unnecessary copy of stats structure

    rtpsession: Avoid unnecessary copy of stats structure

    The code before copied GstStructure twice. The first time inside
    gst_value_set_structure and the second time in g_value_array_append.
    Optimized version does no copies, just transfers ownership to
    GValueArray. It takes advantage of the fact that array has already
    enough elements preallocated and the memory is zero initialized.

-- 
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