[Bug 793874] Fixing ges_layer_get_clips_in_interval(start, end) function inside ges-layer.c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 27 10:01:18 UTC 2018


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

--- Comment #2 from Harish Fulara <harish14143 at iiitd.ac.in> ---
Created attachment 368996
  --> https://bugzilla.gnome.org/attachment.cgi?id=368996&action=edit
Fixing ges_layer_get_clips_in_interval(start, end) function

When we create a GList of intersecting clips, we directly insert the
GESTimelineElement objects (rather than inserting their reference), but when we
free up the GList we use **gst_object_unref** on every GList element's data,
i.e., we decrement their reference count by 1. After 2 or 3 such calls, the
reference count gets decremented to zero and the GESTimelineElment object is
destroyed. Now when we try to access this object, we get a segfault.

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