ges-launcher: don't unref transfer none objects

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/265>
This commit is contained in:
Mathieu Duponchelle 2021-08-10 23:20:21 +02:00
parent a5a793f8b6
commit e12b3b7cef

View file

@ -440,7 +440,8 @@ get_smart_profile (GESLauncher * self)
gst_discoverer_stream_info_list_free (audio_streams); gst_discoverer_stream_info_list_free (audio_streams);
gst_discoverer_stream_info_list_free (video_streams); gst_discoverer_stream_info_list_free (video_streams);
} }
g_list_free_full (assets, gst_object_unref);
g_list_free (assets);
if (possible_profiles) { if (possible_profiles) {
possible_profiles = g_list_sort (possible_profiles, sort_encoding_profiles); possible_profiles = g_list_sort (possible_profiles, sort_encoding_profiles);