diff --git a/gst/gstpad.c b/gst/gstpad.c index 531b5dbe3c..83ea559a19 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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_push_func (GstPad *pad, GstBuffer *buf); -static gboolean gst_pad_eos_func (GstPad *pad); static GstObject *pad_parent_class = NULL; 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) { GstElement *element; diff --git a/gst/gstpad.h b/gst/gstpad.h index eeba2c0989..8242fce5b8 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -98,13 +98,12 @@ struct _GstPad { GstPadGetFunction getfunc; GstPadGetRegionFunction getregionfunc; GstPadQoSFunction qosfunc; + GstPadEOSFunction eosfunc; GstPadPushFunction pushfunc; GstPadPullFunction pullfunc; GstPadPullRegionFunction pullregionfunc; - GstPadEOSFunction eosfunc; - GstObject *parent; 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)) gboolean gst_pad_set_eos (GstPad *pad); +gboolean gst_pad_eos_func (GstPad *pad); void gst_pad_handle_qos (GstPad *pad, glong qos_message); xmlNodePtr gst_pad_save_thyself (GstPad *pad, xmlNodePtr parent);