rtpbasedepayload: Drop gap events before first buffer
authorStian Selnes <stian@pexip.com>
Tue, 30 Aug 2016 11:48:00 +0000 (13:48 +0200)
committerSebastian Dröge <slomo@coaxion.net>
Wed, 20 Mar 2019 15:30:50 +0000 (15:30 +0000)
commiteadeec791a2bd0277ef0ade2d9c2b14bccfff608
tree0f62b9ba9aa04f22eaace33ca0feda86447c03dc
parent31cb8500ee410b723620eb4edc5301b1c96c4292
rtpbasedepayload: Drop gap events before first buffer

Before a gap event is pushed downstream a segment event must be pushed
since the gap event can cause packet concealment downstream and hence
data flow. Since concealment before receiving any data packets usually
doesn't make any sense, the gap event is not sent downstream.

Alternatively one could generate a default caps and segment event, but
no need to complicate things until it's proven necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=773104
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/301
gst-libs/gst/rtp/gstrtpbasedepayload.c
tests/check/libs/rtpbasedepayload.c