mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
autoconvert: Fix previous commit: ensure we take a ref on the features
This commit is contained in:
parent
7d53c39237
commit
f46c247757
1 changed files with 1 additions and 0 deletions
|
@ -292,6 +292,7 @@ gst_auto_convert_set_property (GObject * object,
|
|||
if (autoconvert->factories == NULL) {
|
||||
GList *factories = g_value_get_pointer (value);
|
||||
autoconvert->factories = g_list_copy (factories);
|
||||
g_list_foreach (autoconvert->factories, (GFunc) g_object_ref, NULL);
|
||||
} else
|
||||
GST_WARNING_OBJECT (object, "Can not reset factories after they"
|
||||
" have been set or auto-discovered");
|
||||
|
|
Loading…
Reference in a new issue