summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Pettinato <ppettina@cisco.com>2015-12-01 17:52:03 +0000
committerSebastian Dröge <sebastian@centricular.com>2015-12-07 11:56:48 +0200
commit1d4751e1b31427755667aa4ed305deb0c27425b2 (patch)
treec136f301a145cf68b3a1a0668bd146f797a200ff
parent8fb07fa326deb68c2bd13c95d3a67a3f08472fb8 (diff)
downloadgstreamer-plugins-bad-1d4751e1b31427755667aa4ed305deb0c27425b2.tar.gz
pcapparse: Forward FLUSH_STOP events downstream too
https://bugzilla.gnome.org/show_bug.cgi?id=758913
-rw-r--r--gst/pcapparse/gstpcapparse.c3
1 files changed, 2 insertions, 1 deletions
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;