From 1d4751e1b31427755667aa4ed305deb0c27425b2 Mon Sep 17 00:00:00 2001 From: Paolo Pettinato Date: Tue, 1 Dec 2015 17:52:03 +0000 Subject: pcapparse: Forward FLUSH_STOP events downstream too https://bugzilla.gnome.org/show_bug.cgi?id=758913 --- gst/pcapparse/gstpcapparse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/pcapparse/gstpcapparse.c b/gst/pcapparse/gstpcapparse.c index 485ec43d1..d7f8efdf8 100644 --- a/gst/pcapparse/gstpcapparse.c +++ b/gst/pcapparse/gstpcapparse.c @@ -624,7 +624,8 @@ gst_pcap_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) break; case GST_EVENT_FLUSH_STOP: gst_pcap_parse_reset (self); - break; + /* Push event down the pipeline so that other elements stop flushing */ + /* fall through */ default: ret = gst_pad_push_event (self->src_pad, event); break; -- cgit v1.2.1