ext/amrwb/gstamrwbparse.c: GST_PAD_PARENT doesn't return a GstObject with an incremen...
authorEdward Hervey <bilboed@bilboed.com>
Wed, 7 Feb 2007 12:29:03 +0000 (12:29 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 7 Feb 2007 12:29:03 +0000 (12:29 +0000)
Original commit message from CVS:
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_query):
GST_PAD_PARENT doesn't return a GstObject with an incremented refcount.
Switched to using gst_pad_get_parent().

ChangeLog
common
ext/amrwb/gstamrwbparse.c

index 5e0f562292ba8f5388935f02d3ee5ced32a1f440..263daa6ef448d19b5a5cb6269902108b921b3b2c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-07  Edward Hervey  <edward@fluendo.com>
+
+       * ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_query):
+       GST_PAD_PARENT doesn't return a GstObject with an incremented refcount.
+       Switched to using gst_pad_get_parent().
+
 2007-02-06  Tim-Philipp Müller  <tim at centricular dot net>
 
        * gst/modplug/gstmodplug.cc:
diff --git a/common b/common
index 8ba5dffb5ee7e7daea1030f6b34bfef10f9801a3..de43a8f3c629983e0bea0b8eb617e52ed35a6cda 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 8ba5dffb5ee7e7daea1030f6b34bfef10f9801a3
+Subproject commit de43a8f3c629983e0bea0b8eb617e52ed35a6cda
index e1132b49f9012ccecb3dbb825d80d54fb9ce0e96..e26e62d2c0eb4d750198afc1197eecd467d795d7 100644 (file)
@@ -148,7 +148,7 @@ gst_amrwbparse_query (GstPad * pad, GstQuery * query)
   GstAmrwbParse *amrwbparse;
   gboolean res = TRUE;
 
-  amrwbparse = GST_AMRWBPARSE (GST_PAD_PARENT (pad));
+  amrwbparse = GST_AMRWBPARSE (gst_pad_get_parent (pad));
 
   switch (GST_QUERY_TYPE (query)) {
     case GST_QUERY_POSITION: