From d1aa359c2b6276db0c005685503e36c44a399425 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 5 Jan 2021 11:52:15 -0300 Subject: [PATCH] launch: Ensure to add required ref to profiles from project We were unreffing something we were not owning Part-of: --- tools/ges-launcher.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ges-launcher.c b/tools/ges-launcher.c index 2549c9d..cf56b83 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) { -- 2.7.4