diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/autoconvert/gstautoconvert.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/autoconvert/gstautoconvert.c b/gst/autoconvert/gstautoconvert.c index 7bf7cac3c..2c2433e03 100644 --- a/gst/autoconvert/gstautoconvert.c +++ b/gst/autoconvert/gstautoconvert.c @@ -248,7 +248,7 @@ gst_auto_convert_set_property (GObject * object, GList *factories = g_value_get_pointer (value); factories = g_list_copy (factories); if (g_atomic_pointer_compare_and_exchange (&autoconvert->factories, - NULL, factories)) + (GList *) NULL, factories)) g_list_foreach (factories, (GFunc) g_object_ref, NULL); else g_list_free (factories); @@ -895,8 +895,8 @@ gst_auto_convert_load_factories (GstAutoConvert * autoconvert) g_assert (all_factories); - if (!g_atomic_pointer_compare_and_exchange (&autoconvert->factories, NULL, - all_factories)) { + if (!g_atomic_pointer_compare_and_exchange (&autoconvert->factories, + (GList *) NULL, all_factories)) { gst_plugin_feature_list_free (all_factories); } |