summaryrefslogtreecommitdiffstats
path: root/sys/dxr3/dxr3spusink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dxr3/dxr3spusink.c')
-rw-r--r--sys/dxr3/dxr3spusink.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dxr3/dxr3spusink.c b/sys/dxr3/dxr3spusink.c
index e9142c3c..8d2044e3 100644
--- a/sys/dxr3/dxr3spusink.c
+++ b/sys/dxr3/dxr3spusink.c
@@ -97,7 +97,7 @@ static void dxr3spusink_set_clock (GstElement *element,
GstClock *clock);
static gboolean dxr3spusink_handle_event (GstPad *pad, GstEvent *event);
-static void dxr3spusink_chain (GstPad *pad,GstBuffer *buf);
+static void dxr3spusink_chain (GstPad *pad,GstData *_data);
static GstElementStateReturn dxr3spusink_change_state (GstElement *element);
@@ -381,8 +381,9 @@ dxr3spusink_handle_event (GstPad *pad, GstEvent *event)
static void
-dxr3spusink_chain (GstPad *pad, GstBuffer *buf)
+dxr3spusink_chain (GstPad *pad, GstData *_data)
{
+ GstBuffer *buf = GST_BUFFER (_data);
Dxr3SpuSink *sink;
gint bytes_written = 0;