mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
factory-uri: take ref to factory
Take a ref to the factory that we place in our list.
This commit is contained in:
parent
a0c2dca4dd
commit
8211cdfdc2
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ payloader_filter (GstPluginFeature * feature, FilterData * data)
|
|||
|
||||
if (list) {
|
||||
GST_DEBUG ("adding %s", GST_OBJECT_NAME (fact));
|
||||
*list = g_list_prepend (*list, fact);
|
||||
*list = g_list_prepend (*list, gst_object_ref (fact));
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue