mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-09 17:44:14 +00:00
camerabin2: don't use GLib 2.28 API
Don't use GLib 2.28 API, we still only require >= 2.24.
This commit is contained in:
parent
96524e6a20
commit
2b2e6fbdea
1 changed files with 2 additions and 1 deletions
|
@ -1398,7 +1398,8 @@ gst_camera_bin_change_state (GstElement * element, GstStateChange trans)
|
|||
gst_tag_setter_reset_tags (GST_TAG_SETTER (camera));
|
||||
GST_CAMERA_BIN_RESET_PROCESSING_COUNTER (camera);
|
||||
|
||||
g_slist_free_full (camera->image_location_list, g_free);
|
||||
g_slist_foreach (camera->image_location_list, (GFunc) g_free, NULL);
|
||||
g_slist_free (camera->image_location_list);
|
||||
camera->image_location_list = NULL;
|
||||
|
||||
/* explicitly set to READY as they might be outside of the bin */
|
||||
|
|
Loading…
Reference in a new issue