From: Wim Taymans Date: Mon, 28 Mar 2011 15:02:26 +0000 (+0200) Subject: encodebin: fix new profile unref X-Git-Tag: 1.19.3~511^2~7771 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9b2e095ffee3bdbdaaaa1f79b37c560b5a6f6bf;p=platform%2Fupstream%2Fgstreamer.git encodebin: fix new profile unref --- 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); }