gst/gstpad.*: Added stubs for unimplemented functions.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
(gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
(gst_pad_pull_range), (gst_static_pad_template_get_caps),
(gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
* gst/gstpad.h:
Added stubs for unimplemented functions.
This commit is contained in:
Wim Taymans 2005-04-25 09:45:35 +00:00
parent a4d5ab473c
commit f494f49acd
3 changed files with 30 additions and 2 deletions

View file

@ -1,3 +1,12 @@
2005-04-25 Wim Taymans <wim@fluendo.com>
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
(gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
(gst_pad_pull_range), (gst_static_pad_template_get_caps),
(gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
* gst/gstpad.h:
Added stubs for unimplemented functions.
2005-04-24 David Schleef <ds@schleef.org>
* gst/gstpad.h: Disable some unimplemented functions. Wim,

View file

@ -3168,6 +3168,27 @@ gst_pad_get_element_private (GstPad * pad)
return pad->element_private;
}
gboolean
gst_pad_start_task (GstPad * pad)
{
g_warning ("implement gst_pad_start_task()");
return FALSE;
}
gboolean
gst_pad_pause_task (GstPad * pad)
{
g_warning ("implement gst_pad_pause_task()");
return FALSE;
}
gboolean
gst_pad_stop_task (GstPad * pad)
{
g_warning ("implement gst_pad_stop_task()");
return FALSE;
}
/***** ghost pads *****/
GType _gst_ghost_pad_type = 0;

View file

@ -530,12 +530,10 @@ gboolean gst_pad_push_event (GstPad *pad, GstEvent *event);
gboolean gst_pad_send_event (GstPad *pad, GstEvent *event);
gboolean gst_pad_event_default (GstPad *pad, GstEvent *event);
#if 0
/* pad tasks */
gboolean gst_pad_start_task (GstPad *pad);
gboolean gst_pad_pause_task (GstPad *pad);
gboolean gst_pad_stop_task (GstPad *pad);
#endif
/* convert/query/format functions */
void gst_pad_set_formats_function (GstPad *pad,