mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
androidcamera: Do not use gst_list_free_full since it requires glib 2.28
This commit is contained in:
parent
832c7adc76
commit
42ea071c6c
1 changed files with 4 additions and 2 deletions
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue