From c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 8 Oct 2003 16:08:19 +0000 Subject: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. --- sys/dxr3/dxr3videosink.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dxr3/dxr3videosink.c') diff --git a/sys/dxr3/dxr3videosink.c b/sys/dxr3/dxr3videosink.c index 5f8f953d..843f33bc 100644 --- a/sys/dxr3/dxr3videosink.c +++ b/sys/dxr3/dxr3videosink.c @@ -133,7 +133,7 @@ static void dxr3videosink_write_data (Dxr3VideoSink *sink, static void dxr3videosink_parse_data (Dxr3VideoSink *sink); static gboolean dxr3videosink_handle_event (GstPad *pad, GstEvent *event); -static void dxr3videosink_chain (GstPad *pad,GstBuffer *buf); +static void dxr3videosink_chain (GstPad *pad,GstData *_data); static GstElementStateReturn dxr3videosink_change_state (GstElement *element); @@ -624,8 +624,9 @@ dxr3videosink_handle_event (GstPad *pad, GstEvent *event) static void -dxr3videosink_chain (GstPad *pad, GstBuffer *buf) +dxr3videosink_chain (GstPad *pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); Dxr3VideoSink *sink; GstBuffer *merged; -- cgit v1.2.1