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:
Tim-Philipp Müller 2011-06-23 20:11:55 +01:00
parent 96524e6a20
commit 2b2e6fbdea

View file

@ -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 */