Skip to content

rtphdrext: allow the extension to inspect payloader's sink caps

Jakub Adam requested to merge xhaakon/gst-plugins-base:hdrext into master

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.

On depayloader's end, allow hdrext to update its src caps based on the data parsed from RTP header.

This is for instance needed to implement Color Space extension that communicates colorspace and HDR10 static metadata through RTP headers. GStreamer currently passes this information downstream in GstCaps.

Edited by Jakub Adam

Merge request reports

Loading