summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Staples <staples255@gmail.com>2017-01-10 08:26:04 -0700
committerSebastian Dröge <sebastian@centricular.com>2017-01-10 17:38:44 +0200
commite81e029aa2720b548092f58a933b705fa7cc7a4e (patch)
treea2a71e2d0a03ef887d210b765da3ba76ef33e955
parent800aca816129d8f4d0b2ffb81180f80c0bd60216 (diff)
downloadgstreamer-plugins-bad-e81e029aa2720b548092f58a933b705fa7cc7a4e.tar.gz
jpegparse: Chain up to parent class' sink event handler
Call base class's sink_event handler after handling GST_EVENT_FLUSH_STOP event, so that base class doesn't get stuck in a 'flushing' state https://bugzilla.gnome.org/show_bug.cgi?id=777097
-rw-r--r--gst/jpegformat/gstjpegparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c
index c127d6e88..6978b57cf 100644
--- a/gst/jpegformat/gstjpegparse.c
+++ b/gst/jpegformat/gstjpegparse.c
@@ -871,6 +871,7 @@ gst_jpeg_parse_sink_event (GstBaseParse * bparse, GstEvent * event)
parse->priv->last_offset = 0;
parse->priv->last_entropy_len = 0;
parse->priv->last_resync = FALSE;
+ res = GST_BASE_PARSE_CLASS (parent_class)->sink_event (bparse, event);
break;
case GST_EVENT_TAG:{
if (gst_pad_has_current_caps (GST_BASE_PARSE_SRC_PAD (parse)))