From b8d7cdbd1f1aa1b4dfebf2b8166445d8fc795ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 9 Aug 2024 11:08:36 +0300 Subject: [PATCH] validate: Fix copying of action name Part-of: --- .../validate/gst/validate/gst-validate-scenario.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c b/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c index 74ffc2aef6..27fc441f59 100644 --- a/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c +++ b/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c @@ -438,8 +438,8 @@ _action_copy (GstValidateAction * act) if (act->structure) { copy->structure = gst_structure_copy (act->structure); copy->type = gst_structure_get_name (copy->structure); - if (!(act->name = gst_structure_get_string (copy->structure, "name"))) - act->name = ""; + if (!(copy->name = gst_structure_get_string (copy->structure, "name"))) + copy->name = ""; } if (act->priv->main_structure)