mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
pcapparse: Forward FLUSH_STOP events downstream too
https://bugzilla.gnome.org/show_bug.cgi?id=758913
This commit is contained in:
parent
64adb1998d
commit
ce67e8934d
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue