mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
64b4257509
ges-timeline-element property getter handler was using g_value_take_object() with internal pointers of the element as arguments, instead of g_value_set_object(). g_value_take_object() moves the ownership of the reference; hence, when reading "timeline" the reference ownership of timeline is moved away from the ges-timeline-element and into the GValue. Since GValues are temporaries that are often discarded quickly after, this can easily lead to a double free. This was causing gst-editing-services / pythontests to crash when running TestTrackElements.test_ungroup_regroup() because of an innocent read of `clip2.props.timeline` around the end of the test. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4924> |
||
---|---|---|
.. | ||
bindings/python | ||
data/completions | ||
docs | ||
examples | ||
ges | ||
plugins | ||
scripts | ||
tests | ||
tools | ||
.gitignore | ||
AUTHORS | ||
COPYING | ||
COPYING.LIB | ||
gst-editing-services.doap | ||
meson.build | ||
meson_options.txt | ||
NEWS | ||
README | ||
RELEASE |
GStreamer Editing Services -------------------------- This is a high-level library for facilitating the creation of audio/video non-linear editors. License: -------- This package and its contents are licensend under the GNU Lesser General Public License (LGPL). Dependencies: ------------- * GStreamer core * gst-plugins-base