pcapparse: Forward FLUSH_STOP events downstream too

https://bugzilla.gnome.org/show_bug.cgi?id=758913
This commit is contained in:
Paolo Pettinato 2015-12-01 17:52:03 +00:00 committed by Sebastian Dröge
parent 64adb1998d
commit ce67e8934d

View file

@ -624,7 +624,8 @@ gst_pcap_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
break; break;
case GST_EVENT_FLUSH_STOP: case GST_EVENT_FLUSH_STOP:
gst_pcap_parse_reset (self); gst_pcap_parse_reset (self);
break; /* Push event down the pipeline so that other elements stop flushing */
/* fall through */
default: default:
ret = gst_pad_push_event (self->src_pad, event); ret = gst_pad_push_event (self->src_pad, event);
break; break;