summaryrefslogtreecommitdiff
path: root/gst/gstbin.c
diff options
context:
space:
mode:
authorErik Walthinsen <omega@temple-baptist.org>2001-01-19 02:23:35 +0000
committerErik Walthinsen <omega@temple-baptist.org>2001-01-19 02:23:35 +0000
commitc31f9a570c7932817f7594eb873492f2f44d9e96 (patch)
treebd17193fc27f0ec74a49b9ac2d8a3b241bb68b48 /gst/gstbin.c
parent52713dac28d3d86b956b546f14134bec0cffb774 (diff)
First pass at updating to new ghostpad system. The objects are in place,
Original commit message from CVS: First pass at updating to new ghostpad system. The objects are in place, I now need to go and get all the Bin end of things worked out. Testing should be fairly easy, at least for verification. Everything I've tried so far works with no changes, with is amazing. That's just cool. Once again we rewrite an entire subsystem, and nothing else notices anything but the new features ;-)
Diffstat (limited to 'gst/gstbin.c')
-rw-r--r--gst/gstbin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/gstbin.c b/gst/gstbin.c
index 4bf7348d56..a4743974af 100644
--- a/gst/gstbin.c
+++ b/gst/gstbin.c
@@ -754,12 +754,12 @@ gst_bin_iterate_func (GstBin *bin)
pads = entry->pads;
while (pads) {
pad = GST_PAD (pads->data);
- if (pad->direction == GST_PAD_SRC) {
+ if (GST_REAL_PAD(pad)->direction == GST_PAD_SRC) {
GST_DEBUG (0,"calling getfunc of %s:%s\n",GST_DEBUG_PAD_NAME(pad));
- if (pad->getfunc == NULL)
+ if (GST_REAL_PAD(pad)->getfunc == NULL)
fprintf(stderr, "error, no getfunc in \"%s\"\n", gst_element_get_name (entry));
else
- buf = (pad->getfunc)(pad);
+ buf = (GST_REAL_PAD(pad)->getfunc)(pad);
gst_pad_push(pad,buf);
}
pads = g_list_next (pads);