mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
bin: drop use of GSlice
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3695>
This commit is contained in:
parent
aef5456140
commit
5a2d643f9b
1 changed files with 2 additions and 2 deletions
|
@ -3266,7 +3266,7 @@ bin_bus_handler (GstBus * bus, GstMessage * message, GstBin * bin)
|
|||
static void
|
||||
free_bin_continue_data (BinContinueData * data)
|
||||
{
|
||||
g_slice_free (BinContinueData, data);
|
||||
g_free (data);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -3436,7 +3436,7 @@ bin_handle_async_done (GstBin * bin, GstStateChangeReturn ret,
|
|||
"continue state change, pending %s",
|
||||
gst_element_state_get_name (pending));
|
||||
|
||||
cont = g_slice_new (BinContinueData);
|
||||
cont = g_new (BinContinueData, 1);
|
||||
|
||||
/* cookie to detect concurrent state change */
|
||||
cont->cookie = GST_ELEMENT_CAST (bin)->state_cookie;
|
||||
|
|
Loading…
Reference in a new issue