mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
plugins/elements/: Call super::event() when not handling it. Fixes #544855.
Original commit message from CVS: reviewed by: Wim Taymans <wim.taymans@collabora.co.uk> * plugins/elements/gstfakesink.c: * plugins/elements/gstfakesrc.c: Call super::event() when not handling it. Fixes #544855.
This commit is contained in:
parent
9693804ba5
commit
c55cc1ff39
3 changed files with 14 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
2008-08-20 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* plugins/elements/gstfakesink.c:
|
||||
* plugins/elements/gstfakesrc.c:
|
||||
Call super::event() when not handling it. Fixes #544855.
|
||||
|
||||
2008-08-19 Michael Smith <msmith@songbirdnest.com>
|
||||
|
||||
Patch by: Alessandro Decina <alessandro@nnva.org>
|
||||
|
|
|
@ -370,7 +370,11 @@ gst_fake_sink_event (GstBaseSink * bsink, GstEvent * event)
|
|||
g_object_notify (G_OBJECT (sink), "last_message");
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
if (GST_BASE_SINK_CLASS (parent_class)->event) {
|
||||
return GST_BASE_SINK_CLASS (parent_class)->event (bsink, event);
|
||||
} else {
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
|
|
|
@ -449,8 +449,7 @@ gst_fake_src_event_handler (GstBaseSrc * basesrc, GstEvent * event)
|
|||
g_object_notify (G_OBJECT (src), "last_message");
|
||||
}
|
||||
|
||||
|
||||
return TRUE;
|
||||
return GST_BASE_SRC_CLASS (parent_class)->event (basesrc, event);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue