mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
baseparse: Rename ::event() to ::sink_event() for consistency
This commit is contained in:
parent
00feec6068
commit
eadebb172d
2 changed files with 5 additions and 5 deletions
|
@ -528,7 +528,7 @@ gst_base_parse_class_init (GstBaseParseClass * klass)
|
|||
#endif
|
||||
|
||||
/* 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->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 */
|
||||
gst_base_parse_post_bitrates (parse, TRUE, TRUE, TRUE);
|
||||
|
||||
if (bclass->event)
|
||||
ret = bclass->event (parse, event);
|
||||
if (bclass->sink_event)
|
||||
ret = bclass->sink_event (parse, event);
|
||||
else {
|
||||
gst_event_unref (event);
|
||||
ret = FALSE;
|
||||
|
|
|
@ -210,7 +210,7 @@ struct _GstBaseParse {
|
|||
* if desired.
|
||||
* @convert: Optional.
|
||||
* Convert between formats.
|
||||
* @event: Optional.
|
||||
* @sink_event: Optional.
|
||||
* Event handler on the sink pad. This function should chain
|
||||
* up to the parent implementation to let the default handler
|
||||
* run.
|
||||
|
@ -258,7 +258,7 @@ struct _GstBaseParseClass {
|
|||
GstFormat dest_format,
|
||||
gint64 * dest_value);
|
||||
|
||||
gboolean (*event) (GstBaseParse * parse,
|
||||
gboolean (*sink_event) (GstBaseParse * parse,
|
||||
GstEvent * event);
|
||||
|
||||
gboolean (*src_event) (GstBaseParse * parse,
|
||||
|
|
Loading…
Reference in a new issue