diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2021-01-05 11:52:15 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2021-01-05 11:52:43 -0300 |
commit | d1aa359c2b6276db0c005685503e36c44a399425 (patch) | |
tree | f8fbf1a95f54c591d297b419140488592abbad98 | |
parent | bdfe6e4477d3ebbd6ff2a82135aacaa91ee5049f (diff) |
launch: Ensure to add required ref to profiles from project
We were unreffing something we were not owning
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/224>
-rw-r--r-- | tools/ges-launcher.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/ges-launcher.c b/tools/ges-launcher.c index 2549c9da..cf56b83f 100644 --- a/tools/ges-launcher.c +++ b/tools/ges-launcher.c @@ -493,6 +493,9 @@ _set_rendering_details (GESLauncher * self) gst_encoding_profile_get_name (profiles->data)) == 0) prof = profiles->data; } + + if (prof) + prof = gst_object_ref (prof); } if (!prof) { |