From aaa7a690fa6e7e5ff3c776bd2795b3fb140745d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Mon, 28 Mar 2022 13:20:40 +0200 Subject: [PATCH] nle: clear seek event properly Use gst_clear_event instead of g_clear_object avoiding a failing gobject unref Part-of: --- subprojects/gst-editing-services/plugins/nle/nlecomposition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-editing-services/plugins/nle/nlecomposition.c b/subprojects/gst-editing-services/plugins/nle/nlecomposition.c index 97fa1b9ec2..45db00c893 100644 --- a/subprojects/gst-editing-services/plugins/nle/nlecomposition.c +++ b/subprojects/gst-editing-services/plugins/nle/nlecomposition.c @@ -1244,7 +1244,7 @@ nle_composition_dispose (GObject * object) g_list_free (priv->objects_stop); g_list_free_full (priv->actions, (GDestroyNotify) _remove_each_action); - g_clear_object (&priv->stack_initialization_seek); + gst_clear_event (&priv->stack_initialization_seek); nle_composition_reset_target_pad (comp);