10 static GstPad *gst_replace_request_new_pad (GstElement * element,
11 GstPadTemplate * templ, const gchar * name);
12 static void gst_replace_release_pad (GstElement * element, GstPad * pad);
13 static GstStateChangeReturn
14 gst_replace_get_state (GstElement * element, GstState * state,
15 GstState * pending, GstClockTime timeout);
16 static GstStateChangeReturn
17 gst_replace_set_state (GstElement * element, GstState state);
18 static GstStateChangeReturn
19 gst_replace_change_state (GstElement * element, GstStateChange transition);
20 static void gst_replace_set_bus (GstElement * element, GstBus * bus);
21 static GstClock *gst_replace_provide_clock (GstElement * element);
22 static gboolean gst_replace_set_clock (GstElement * element, GstClock * clock);
23 static GstIndex *gst_replace_get_index (GstElement * element);
24 static void gst_replace_set_index (GstElement * element, GstIndex * index);
25 static gboolean gst_replace_send_event (GstElement * element, GstEvent * event);
26 static const GstQueryType *gst_replace_get_query_types (GstElement * element);
27 static gboolean gst_replace_query (GstElement * element, GstQuery * query);
29 GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
31 element_class->request_new_pad = GST_DEBUG_FUNCPTR (gst_replace_request_new_pad);
32 element_class->release_pad = GST_DEBUG_FUNCPTR (gst_replace_release_pad);
33 element_class->get_state = GST_DEBUG_FUNCPTR (gst_replace_get_state);
34 element_class->set_state = GST_DEBUG_FUNCPTR (gst_replace_set_state);
35 element_class->change_state = GST_DEBUG_FUNCPTR (gst_replace_change_state);
36 element_class->set_bus = GST_DEBUG_FUNCPTR (gst_replace_set_bus);
37 element_class->provide_clock = GST_DEBUG_FUNCPTR (gst_replace_provide_clock);
38 element_class->set_clock = GST_DEBUG_FUNCPTR (gst_replace_set_clock);
39 element_class->get_index = GST_DEBUG_FUNCPTR (gst_replace_get_index);
40 element_class->set_index = GST_DEBUG_FUNCPTR (gst_replace_set_index);
41 element_class->send_event = GST_DEBUG_FUNCPTR (gst_replace_send_event);
42 element_class->get_query_types = GST_DEBUG_FUNCPTR (gst_replace_get_query_types);
43 element_class->query = GST_DEBUG_FUNCPTR (gst_replace_query);
48 gst_replace_request_new_pad (GstElement * element, GstPadTemplate * templ,
56 gst_replace_release_pad (GstElement * element, GstPad * pad)
61 static GstStateChangeReturn
62 gst_replace_get_state (GstElement * element, GstState * state,
63 GstState * pending, GstClockTime timeout)
66 return GST_STATE_CHANGE_SUCCESS;
69 static GstStateChangeReturn
70 gst_replace_set_state (GstElement * element, GstState state)
73 return GST_STATE_CHANGE_SUCCESS;
76 static GstStateChangeReturn
77 gst_replace_change_state (GstElement * element, GstStateChange transition)
80 return GST_STATE_CHANGE_SUCCESS;
84 gst_replace_set_bus (GstElement * element, GstBus * bus)
90 gst_replace_provide_clock (GstElement * element)
97 gst_replace_set_clock (GstElement * element, GstClock * clock)
104 gst_replace_get_index (GstElement * element)
111 gst_replace_set_index (GstElement * element, GstIndex * index)
117 gst_replace_send_event (GstElement * element, GstEvent * event)
123 static const GstQueryType *
124 gst_replace_get_query_types (GstElement * element)
131 gst_replace_query (GstElement * element, GstQuery * query)