jpegparse: Chain up to parent class' sink event handler
authorMatt Staples <staples255@gmail.com>
Tue, 10 Jan 2017 15:26:04 +0000 (08:26 -0700)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 10 Jan 2017 15:38:44 +0000 (17:38 +0200)
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

gst/jpegformat/gstjpegparse.c

index c127d6e88c33d193845429bf49c26e9a989f558c..6978b57cf773760fb1432553b59d4aa1b3a3d706 100644 (file)
@@ -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)))