rtpbasedepayload: handle caps change partway through buffer list
authorJakub Adam <jakub.adam@collabora.com>
Tue, 9 Feb 2021 21:09:52 +0000 (22:09 +0100)
committerJakub Adam <jakub.adam@collabora.com>
Fri, 12 Mar 2021 17:45:04 +0000 (18:45 +0100)
commit1a87a6572e74c0b4b0c18e91d7b6e9574298e922
tree074deb016d3974d777ed62ba95f16cbc8f312453
parentc222f322c0733b8336c3ae0b9d91366970343f10
rtpbasedepayload: handle caps change partway through buffer list

While preparing a blist for pushing, some RTP header extension may
request caps change for a specific buffer in the list. When this
happens, depayloader should immediately push those buffers from the list
that precede the currently processed buffer (for which the caps change
was requested) and only then apply the new caps to the src pad.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1011>
gst-libs/gst/rtp/gstrtpbasedepayload.c
tests/check/libs/rtpbasedepayload.c
tests/check/libs/rtpdummyhdrextimpl.c