gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full gst_pad_set_caps on the...
authorAndy Wingo <wingo@pobox.com>
Thu, 23 Jun 2005 09:28:27 +0000 (09:28 +0000)
committerAndy Wingo <wingo@pobox.com>
Thu, 23 Jun 2005 09:28:27 +0000 (09:28 +0000)
Original commit message from CVS:
2005-06-23  Andy Wingo  <wingo@pobox.com>

* gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
gst_pad_set_caps on the target, not just its setcaps() function.

ChangeLog
gst/gstghostpad.c

index 60be17e..bae7e69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-06-23  Andy Wingo  <wingo@pobox.com>
 
+       * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
+       gst_pad_set_caps on the target, not just its setcaps() function.
+
        * tests/network-clock.scm: 
        * tests/network-clock-utils.scm: A network clock simulator.
        Something of an algorithmic testbed before doing something in C.
index 93404c8..696400c 100644 (file)
@@ -247,7 +247,7 @@ gst_proxy_pad_do_setcaps (GstPad * pad, GstCaps * caps)
 
   g_return_val_if_fail (target != NULL, FALSE);
 
-  return target->setcapsfunc (target, caps);
+  return gst_pad_set_caps (target, caps);
 }
 
 #define SETFUNC(member, kind) \