summaryrefslogtreecommitdiff
path: root/plugins/elements/gstfakesink.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2003-10-08 16:06:02 +0000
committerAndy Wingo <wingo@pobox.com>2003-10-08 16:06:02 +0000
commit31d748d332c1eb6c63d1fe88b9ba6fcd9ce4ae75 (patch)
tree4c93cebbd281494a923e1d4e7befeac6572f12fd /plugins/elements/gstfakesink.c
parent63d21b3e7aeed19f1f8d9135afd7afe1c798ca14 (diff)
s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Also inc...
Original commit message from CVS: s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Also includes scheduler patches, and probably fixes some queue bugs relating to events and buffers.
Diffstat (limited to 'plugins/elements/gstfakesink.c')
-rw-r--r--plugins/elements/gstfakesink.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/elements/gstfakesink.c b/plugins/elements/gstfakesink.c
index 0050939ae..d9a94a582 100644
--- a/plugins/elements/gstfakesink.c
+++ b/plugins/elements/gstfakesink.c
@@ -102,7 +102,7 @@ static void gst_fakesink_get_property (GObject *object, guint prop_id,
static GstElementStateReturn
gst_fakesink_change_state (GstElement *element);
-static void gst_fakesink_chain (GstPad *pad, GstBuffer *buf);
+static void gst_fakesink_chain (GstPad *pad, GstData *_data);
static GstElementClass *parent_class = NULL;
static guint gst_fakesink_signals[LAST_SIGNAL] = { 0 };
@@ -298,8 +298,9 @@ gst_fakesink_get_property (GObject *object, guint prop_id, GValue *value, GParam
}
static void
-gst_fakesink_chain (GstPad *pad, GstBuffer *buf)
+gst_fakesink_chain (GstPad *pad, GstData *_data)
{
+ GstBuffer *buf = GST_BUFFER (_data);
GstFakeSink *fakesink;
g_return_if_fail (pad != NULL);