gstreamer/subprojects/gst-editing-services
Alicia Boya García 64b4257509 ges-timeline-element: Fix refcount bug in "timeline" and "parent" properties
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>
2023-06-23 23:00:45 +00:00
..
bindings/python meson: Use python module to install override files 2023-02-16 19:43:11 +00:00
data/completions Move files from gst-editing-services into the "subprojects/gst-editing-services/" subdir 2021-09-24 16:15:30 -03:00
docs doc: Avoid shelling out to hotdoc to generate plugins config files 2023-04-25 02:57:55 +00:00
examples gstreamer-full: add full static support 2023-05-31 15:17:11 +00:00
ges ges-timeline-element: Fix refcount bug in "timeline" and "parent" properties 2023-06-23 23:00:45 +00:00
plugins ges: nle: drop use of GSlice allocator 2023-02-03 17:48:09 +00:00
scripts meson: Generate ChangeLog files for release tarballs on dist 2022-12-04 18:16:25 +00:00
tests tests: nle: Call ges_init() only inside test cases 2023-06-22 18:04:24 +00:00
tools ges-launcher: add ignore EOS option 2023-06-07 15:03:30 +00:00
.gitignore Move files from gst-editing-services into the "subprojects/gst-editing-services/" subdir 2021-09-24 16:15:30 -03:00
AUTHORS Move files from gst-editing-services into the "subprojects/gst-editing-services/" subdir 2021-09-24 16:15:30 -03:00
COPYING Move files from gst-editing-services into the "subprojects/gst-editing-services/" subdir 2021-09-24 16:15:30 -03:00
COPYING.LIB Move files from gst-editing-services into the "subprojects/gst-editing-services/" subdir 2021-09-24 16:15:30 -03:00
gst-editing-services.doap Release 1.22.0 2023-01-23 19:41:07 +00:00
meson.build gstreamer-full: add full static support 2023-05-31 15:17:11 +00:00
meson_options.txt meson: Remove duplicate definition of 'examples' option 2021-10-12 22:54:56 +00:00
NEWS Release 1.22.0 2023-01-23 19:41:07 +00:00
README Move files from gst-editing-services into the "subprojects/gst-editing-services/" subdir 2021-09-24 16:15:30 -03:00
RELEASE Release 1.22.0 2023-01-23 19:41:07 +00:00

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