mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
encodebin: fix new profile unref
This commit is contained in:
parent
e6dc4c189d
commit
a9b2e095ff
2 changed files with 2 additions and 2 deletions
|
@ -435,7 +435,7 @@ gst_encoding_container_profile_finalize (GObject * object)
|
|||
{
|
||||
GstEncodingContainerProfile *prof = (GstEncodingContainerProfile *) object;
|
||||
|
||||
g_list_foreach (prof->encodingprofiles, (GFunc) gst_mini_object_unref, NULL);
|
||||
g_list_foreach (prof->encodingprofiles, (GFunc) g_object_unref, NULL);
|
||||
g_list_free (prof->encodingprofiles);
|
||||
|
||||
G_OBJECT_CLASS (gst_encoding_container_profile_parent_class)->finalize
|
||||
|
|
|
@ -107,7 +107,7 @@ gst_encoding_target_finalize (GObject * object)
|
|||
if (target->description)
|
||||
g_free (target->description);
|
||||
|
||||
g_list_foreach (target->profiles, (GFunc) gst_mini_object_unref, NULL);
|
||||
g_list_foreach (target->profiles, (GFunc) g_object_unref, NULL);
|
||||
g_list_free (target->profiles);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue