mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
ladspa: simplify registry cache structure creation
Create and fill structure in one go.
This commit is contained in:
parent
5e8a650130
commit
976cb234bc
1 changed files with 1 additions and 2 deletions
|
@ -236,8 +236,7 @@ ladspa_describe_plugin (const gchar * file_name, const gchar * entry_name,
|
|||
continue;
|
||||
}
|
||||
|
||||
ladspa_meta = gst_structure_new_empty ("ladspa");
|
||||
gst_structure_set (ladspa_meta,
|
||||
ladspa_meta = gst_structure_new ("ladspa",
|
||||
"plugin-filename", G_TYPE_STRING, file_name,
|
||||
"element-ix", G_TYPE_UINT, i,
|
||||
"element-type-name", G_TYPE_STRING, type_name,
|
||||
|
|
Loading…
Reference in a new issue