summaryrefslogtreecommitdiff
path: root/sys/dxr3/dxr3spusink.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-11-10 12:11:21 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-11-10 12:11:21 +0100
commit85469512223d95fd80fba5d24facb6e57e6f759a (patch)
tree8a05a43ca3067a8765ce947fa1ec22069582eaa8 /sys/dxr3/dxr3spusink.c
parentd9613e5d82cdd6186af6a3337076b9d5d2e30997 (diff)
downloadgstreamer-plugins-bad-85469512223d95fd80fba5d24facb6e57e6f759a.tar.gz
chain up in set_clock
Diffstat (limited to 'sys/dxr3/dxr3spusink.c')
-rw-r--r--sys/dxr3/dxr3spusink.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dxr3/dxr3spusink.c b/sys/dxr3/dxr3spusink.c
index 0ea924390..ec713fbb4 100644
--- a/sys/dxr3/dxr3spusink.c
+++ b/sys/dxr3/dxr3spusink.c
@@ -72,7 +72,7 @@ static void dxr3spusink_get_property (GObject * object,
static gboolean dxr3spusink_open (Dxr3SpuSink * sink);
static void dxr3spusink_close (Dxr3SpuSink * sink);
-static void dxr3spusink_set_clock (GstElement * element, GstClock * clock);
+static gboolean dxr3spusink_set_clock (GstElement * element, GstClock * clock);
static gboolean dxr3spusink_handle_event (GstPad * pad, GstEvent * event);
static void dxr3spusink_chain (GstPad * pad, GstData * _data);
@@ -305,12 +305,14 @@ dxr3spusink_close (Dxr3SpuSink * sink)
}
-static void
+static gboolean
dxr3spusink_set_clock (GstElement * element, GstClock * clock)
{
Dxr3SpuSink *src = DXR3SPUSINK (element);
src->clock = clock;
+
+ return GST_ELEMENT_CLASS (element)->set_clock (element, clock);
}