mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
encodebin: drop use of GSlice
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3695>
This commit is contained in:
parent
165fdac5c6
commit
0feb2770e6
1 changed files with 2 additions and 2 deletions
|
@ -1469,7 +1469,7 @@ _create_stream_group (GstEncodeBaseBin * ebin, GstEncodingProfile * sprof,
|
|||
GST_PTR_FORMAT, format, sinkcaps);
|
||||
GST_DEBUG ("avoid_reencoding:%d", ebin->avoid_reencoding);
|
||||
|
||||
sgroup = g_slice_new0 (StreamGroup);
|
||||
sgroup = g_new0 (StreamGroup, 1);
|
||||
sgroup->ebin = ebin;
|
||||
sgroup->profile = sprof;
|
||||
|
||||
|
@ -2464,7 +2464,7 @@ stream_group_free (GstEncodeBaseBin * ebin, StreamGroup * sgroup)
|
|||
if (sgroup->outfilter)
|
||||
gst_bin_remove ((GstBin *) ebin, sgroup->outfilter);
|
||||
|
||||
g_slice_free (StreamGroup, sgroup);
|
||||
g_free (sgroup);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue