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:
Stefan Kost 2008-08-20 07:03:40 +00:00
parent 9693804ba5
commit c55cc1ff39
3 changed files with 14 additions and 3 deletions

View file

@ -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>

View file

@ -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

View file

@ -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