baseparse: Rename ::event() to ::sink_event() for consistency

This commit is contained in:
Sebastian Dröge 2012-03-30 11:58:20 +02:00
parent 00feec6068
commit eadebb172d
2 changed files with 5 additions and 5 deletions

View file

@ -528,7 +528,7 @@ gst_base_parse_class_init (GstBaseParseClass * klass)
#endif #endif
/* Default handlers */ /* Default handlers */
klass->event = gst_base_parse_sink_eventfunc; klass->sink_event = gst_base_parse_sink_eventfunc;
klass->src_event = gst_base_parse_src_eventfunc; klass->src_event = gst_base_parse_src_eventfunc;
klass->convert = gst_base_parse_convert_default; klass->convert = gst_base_parse_convert_default;
@ -888,8 +888,8 @@ gst_base_parse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
/* We've not posted bitrate tags yet - do so now */ /* We've not posted bitrate tags yet - do so now */
gst_base_parse_post_bitrates (parse, TRUE, TRUE, TRUE); gst_base_parse_post_bitrates (parse, TRUE, TRUE, TRUE);
if (bclass->event) if (bclass->sink_event)
ret = bclass->event (parse, event); ret = bclass->sink_event (parse, event);
else { else {
gst_event_unref (event); gst_event_unref (event);
ret = FALSE; ret = FALSE;

View file

@ -210,7 +210,7 @@ struct _GstBaseParse {
* if desired. * if desired.
* @convert: Optional. * @convert: Optional.
* Convert between formats. * Convert between formats.
* @event: Optional. * @sink_event: Optional.
* Event handler on the sink pad. This function should chain * Event handler on the sink pad. This function should chain
* up to the parent implementation to let the default handler * up to the parent implementation to let the default handler
* run. * run.
@ -258,7 +258,7 @@ struct _GstBaseParseClass {
GstFormat dest_format, GstFormat dest_format,
gint64 * dest_value); gint64 * dest_value);
gboolean (*event) (GstBaseParse * parse, gboolean (*sink_event) (GstBaseParse * parse,
GstEvent * event); GstEvent * event);
gboolean (*src_event) (GstBaseParse * parse, gboolean (*src_event) (GstBaseParse * parse,