summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2021-08-10 23:20:21 +0200
committerMathieu Duponchelle <mathieu@centricular.com>2021-08-14 18:07:56 +0200
commite12b3b7cef74b81e62f9b1124d8e82a90343a6a4 (patch)
tree3cbe09b8a8af964d9effc5ad7a497e9e7751864a
parenta5a793f8b6845b5dbefd3e7cd0ce41e5c9cb1e9c (diff)
ges-launcher: don't unref transfer none objects
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/265>
-rw-r--r--tools/ges-launcher.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ges-launcher.c b/tools/ges-launcher.c
index 596aa171..f4609b1e 100644
--- a/tools/ges-launcher.c
+++ b/tools/ges-launcher.c
@@ -440,7 +440,8 @@ get_smart_profile (GESLauncher * self)
gst_discoverer_stream_info_list_free (audio_streams);
gst_discoverer_stream_info_list_free (video_streams);
}
- g_list_free_full (assets, gst_object_unref);
+
+ g_list_free (assets);
if (possible_profiles) {
possible_profiles = g_list_sort (possible_profiles, sort_encoding_profiles);