static GstPadLinkReturn play_on_demand_pad_link (GstPad * pad,
const GstCaps * caps);
static void play_on_demand_loop (GstElement * elem);
-static void play_on_demand_set_clock (GstElement * elem, GstClock * clock);
+static gboolean play_on_demand_set_clock (GstElement * elem, GstClock * clock);
/* signal handlers */
static void play_on_demand_play_handler (GstElement * elem);
}
}
-static void
+static gboolean
play_on_demand_set_clock (GstElement * elem, GstClock * clock)
{
GstPlayOnDemand *filter;
filter = GST_PLAYONDEMAND (elem);
filter->clock = clock;
+
+ return GST_ELEMENT_CLASS (parent_class)->set_clock (elem, clock);
}
static void
gst_decklink_sink_set_clock (GstElement * element, GstClock * clock)
{
- return TRUE;
+ return GST_ELEMENT_CLASS (parent_class)->set_clock (element, clock);
}
static GstIndex *
gst_decklink_src_set_clock (GstElement * element, GstClock * clock)
{
- return TRUE;
+ return GST_ELEMENT_CLASS (parent_class)->set_clock (element, clock);
}
static GstIndex *
static gboolean dxr3audiosink_set_mode_pcm (Dxr3AudioSink * sink);
static gboolean dxr3audiosink_set_mode_ac3 (Dxr3AudioSink * sink);
static void dxr3audiosink_close (Dxr3AudioSink * sink);
-static void dxr3audiosink_set_clock (GstElement * element, GstClock * clock);
+static gboolean dxr3audiosink_set_clock (GstElement * element,
+ GstClock * clock);
static GstPadLinkReturn dxr3audiosink_pcm_sinklink (GstPad * pad,
const GstCaps * caps);
}
-static void
+static gboolean
dxr3audiosink_set_clock (GstElement * element, GstClock * clock)
{
Dxr3AudioSink *src = DXR3AUDIOSINK (element);
src->clock = clock;
+
+ return GST_ELEMENT_CLASS (parent_class)->set_clock (element, clock);
}
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);
}
-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);
}
static gboolean dxr3videosink_open (Dxr3VideoSink * sink);
static void dxr3videosink_close (Dxr3VideoSink * sink);
-static void dxr3videosink_set_clock (GstElement * element, GstClock * clock);
+static gboolean dxr3videosink_set_clock (GstElement * element,
+ GstClock * clock);
static void dxr3videosink_reset_parser (Dxr3VideoSink * sink);
static int dxr3videosink_next_start_code (Dxr3VideoSink * sink);
}
-static void
+static gboolean
dxr3videosink_set_clock (GstElement * element, GstClock * clock)
{
Dxr3VideoSink *src = DXR3VIDEOSINK (element);
src->clock = clock;
+
+ return GST_ELEMENT_CLASS (parent_class)->set_clock (element, clock);
}
gst_ks_clock_provide_master_clock (priv->ksclock, clock);
GST_OBJECT_UNLOCK (element);
- return TRUE;
+ return GST_ELEMENT_CLASS (element)->set_clock (element, clock);
}
static GstCaps *
gst_replace_set_clock (GstElement * element, GstClock * clock)
{
- return TRUE;
+ return GST_ELEMENT_CLASS (parent_class)->set_clock (element, clock);
}
static GstIndex *