Made gst_pad_eos_func a non-static function

Original commit message from CVS:
Made gst_pad_eos_func a non-static function
This commit is contained in:
Erik Walthinsen 2001-01-03 20:40:26 +00:00
parent 7411cfe17e
commit 45f05bf6ed
2 changed files with 3 additions and 4 deletions

View file

@ -52,7 +52,6 @@ static void gst_pad_get_arg (GtkObject *object,GtkArg *arg,guint id);
static void gst_pad_real_destroy (GtkObject *object); static void gst_pad_real_destroy (GtkObject *object);
static void gst_pad_push_func (GstPad *pad, GstBuffer *buf); static void gst_pad_push_func (GstPad *pad, GstBuffer *buf);
static gboolean gst_pad_eos_func (GstPad *pad);
static GstObject *pad_parent_class = NULL; static GstObject *pad_parent_class = NULL;
static guint gst_pad_signals[LAST_SIGNAL] = { 0 }; static guint gst_pad_signals[LAST_SIGNAL] = { 0 };
@ -1044,7 +1043,7 @@ gst_padtemplate_load_thyself (xmlNodePtr parent)
} }
static gboolean gboolean
gst_pad_eos_func(GstPad *pad) gst_pad_eos_func(GstPad *pad)
{ {
GstElement *element; GstElement *element;

View file

@ -98,13 +98,12 @@ struct _GstPad {
GstPadGetFunction getfunc; GstPadGetFunction getfunc;
GstPadGetRegionFunction getregionfunc; GstPadGetRegionFunction getregionfunc;
GstPadQoSFunction qosfunc; GstPadQoSFunction qosfunc;
GstPadEOSFunction eosfunc;
GstPadPushFunction pushfunc; GstPadPushFunction pushfunc;
GstPadPullFunction pullfunc; GstPadPullFunction pullfunc;
GstPadPullRegionFunction pullregionfunc; GstPadPullRegionFunction pullregionfunc;
GstPadEOSFunction eosfunc;
GstObject *parent; GstObject *parent;
GList *ghostparents; GList *ghostparents;
@ -214,6 +213,7 @@ GstBuffer* gst_pad_pull_region (GstPad *pad, gulong offset, gulong size);
#define gst_pad_eos(pad) ((pad)->peer->eosfunc((pad)->peer)) #define gst_pad_eos(pad) ((pad)->peer->eosfunc((pad)->peer))
gboolean gst_pad_set_eos (GstPad *pad); gboolean gst_pad_set_eos (GstPad *pad);
gboolean gst_pad_eos_func (GstPad *pad);
void gst_pad_handle_qos (GstPad *pad, glong qos_message); void gst_pad_handle_qos (GstPad *pad, glong qos_message);
xmlNodePtr gst_pad_save_thyself (GstPad *pad, xmlNodePtr parent); xmlNodePtr gst_pad_save_thyself (GstPad *pad, xmlNodePtr parent);