[0.11] gst-plugins-base: encodebin: fix new profile unref

Wim Taymans wtay at kemper.freedesktop.org
Wed Mar 30 12:41:05 PDT 2011


Module: gst-plugins-base
Branch: 0.11
Commit: a9b2e095ffee3bdbdaaaa1f79b37c560b5a6f6bf
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=a9b2e095ffee3bdbdaaaa1f79b37c560b5a6f6bf

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Mar 28 17:02:26 2011 +0200

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);
 }
 



More information about the gstreamer-commits mailing list