mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 14:11:15 +00:00
validate: Fix copying of action name
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7334>
This commit is contained in:
parent
364d88045d
commit
b8d7cdbd1f
1 changed files with 2 additions and 2 deletions
|
@ -438,8 +438,8 @@ _action_copy (GstValidateAction * act)
|
||||||
if (act->structure) {
|
if (act->structure) {
|
||||||
copy->structure = gst_structure_copy (act->structure);
|
copy->structure = gst_structure_copy (act->structure);
|
||||||
copy->type = gst_structure_get_name (copy->structure);
|
copy->type = gst_structure_get_name (copy->structure);
|
||||||
if (!(act->name = gst_structure_get_string (copy->structure, "name")))
|
if (!(copy->name = gst_structure_get_string (copy->structure, "name")))
|
||||||
act->name = "";
|
copy->name = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (act->priv->main_structure)
|
if (act->priv->main_structure)
|
||||||
|
|
Loading…
Reference in a new issue