summaryrefslogtreecommitdiff
path: root/gst/speed/filter.func
diff options
context:
space:
mode:
Diffstat (limited to 'gst/speed/filter.func')
-rw-r--r--gst/speed/filter.func6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/speed/filter.func b/gst/speed/filter.func
index 867a825de..7bd5227c9 100644
--- a/gst/speed/filter.func
+++ b/gst/speed/filter.func
@@ -38,11 +38,11 @@
i_float = i_float - nin;
lower = in_data[nin-1];
gst_buffer_unref(in);
- in = gst_pad_pull (filter->sinkpad);
+ in = GST_BUFFER (gst_pad_pull (filter->sinkpad));
while (GST_IS_EVENT (in)) {
gst_pad_event_default (filter->srcpad, GST_EVENT (in));
- in = gst_pad_pull (filter->sinkpad);
+ in = GST_BUFFER (gst_pad_pull (filter->sinkpad));
}
in_data = (_FORMAT*) GST_BUFFER_DATA(in);
@@ -59,7 +59,7 @@
lower = in_data[i];
}
- gst_pad_push(filter->srcpad, out);
+ gst_pad_push(filter->srcpad, GST_DATA (out));
gst_element_yield (element);
} while (TRUE);