rtphdrext: allow the extension to inspect payloader's sink caps
authorJakub Adam <jakub.adam@collabora.com>
Tue, 12 Jan 2021 21:11:46 +0000 (22:11 +0100)
committerJakub Adam <jakub.adam@collabora.com>
Fri, 12 Mar 2021 17:45:04 +0000 (18:45 +0100)
commit899c69abad4e8fb9d389eed2a51b720bd26beea1
treee38dcec04019f8d4769fb1aecca69eccd79396a0
parent9759810d8206b5f1aa199f98599caec3630a1813
rtphdrext: allow the extension to inspect payloader's sink caps

Some header extensions may need to read information from the payloader's
sink caps. Introduce gst_rtp_header_extension_update_from_sinkcaps ()
that passes the caps to the extension, which can then use it to update
its internal state.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1011>
gst-libs/gst/rtp/gstrtpbasepayload.c
gst-libs/gst/rtp/gstrtphdrext.c
gst-libs/gst/rtp/gstrtphdrext.h