In !159 , we switched to sending flush_start ourselves from the
do_seek implementation. If no flushing seek successfully made its
way upstream, we need to send flush_stop ourselves as well.
GST_OBJECT_LOCK (self);
priv->flushing = FALSE;
GST_OBJECT_UNLOCK (self);
+
+ /* No flush stop is inbound for us to forward */
+ if (flush) {
+ GstEvent *event = gst_event_new_flush_stop (TRUE);
+
+ gst_event_set_seqnum (event, self->priv->next_seqnum);
+ gst_pad_push_event (self->srcpad, event);
+ }
}
GST_INFO_OBJECT (self, "seek done, result: %d", evdata.result);