From a9b2e095ffee3bdbdaaaa1f79b37c560b5a6f6bf Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 28 Mar 2011 17:02:26 +0200 Subject: [PATCH] encodebin: fix new profile unref --- gst-libs/gst/pbutils/encoding-profile.c | 2 +- gst-libs/gst/pbutils/encoding-target.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/pbutils/encoding-profile.c b/gst-libs/gst/pbutils/encoding-profile.c index 431f6d4..145ea65 100644 --- a/gst-libs/gst/pbutils/encoding-profile.c +++ b/gst-libs/gst/pbutils/encoding-profile.c @@ -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 diff --git a/gst-libs/gst/pbutils/encoding-target.c b/gst-libs/gst/pbutils/encoding-target.c index f2f3f8d..525e70c 100644 --- a/gst-libs/gst/pbutils/encoding-target.c +++ b/gst-libs/gst/pbutils/encoding-target.c @@ -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); } -- 2.7.4