mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
elementfactory: improve caps string management
This commit is contained in:
parent
be21f9cf42
commit
293ddfc5aa
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ gst_element_register (GstPlugin * plugin, const gchar * name, guint rank,
|
|||
newt->direction = templ->direction;
|
||||
newt->presence = templ->presence;
|
||||
newt->static_caps.caps.mini_object.refcount = 0;
|
||||
newt->static_caps.string = gst_caps_to_string (templ->caps);
|
||||
newt->static_caps.string = g_intern_string (caps_string);
|
||||
factory->staticpadtemplates =
|
||||
g_list_append (factory->staticpadtemplates, newt);
|
||||
|
||||
|
|
Loading…
Reference in a new issue