androidcamera: Do not use gst_list_free_full since it requires glib 2.28

This commit is contained in:
Youness Alaoui 2012-11-14 11:38:51 -05:00 committed by Nicolas Dufresne
parent 832c7adc76
commit 42ea071c6c

View file

@ -2912,7 +2912,8 @@ gst_ahc_parameters_get_supported_preview_fps_range (GstAHCParameters * self)
void
gst_ahc_parameters_supported_preview_fps_range_free (GList * list)
{
g_list_free_full (list, (GDestroyNotify) g_free);
g_list_foreach (list, (GFunc) g_free, NULL);
g_list_free (list);
}
GList *
@ -2955,7 +2956,8 @@ gst_ahc_parameters_get_supported_preview_sizes (GstAHCParameters * self)
void
gst_ahc_parameters_supported_preview_sizes_free (GList * list)
{
g_list_free_full (list, (GDestroyNotify) gst_ahc_size_free);
g_list_foreach (list, (GFunc) gst_ahc_size_free, NULL);
g_list_free (list);
}
GList *