sdp: Skip source-specific caps fields when creating an SDP media from caps
authorSebastian Dröge <sebastian@centricular.com>
Tue, 4 Apr 2023 16:21:56 +0000 (19:21 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 5 Apr 2023 11:44:11 +0000 (11:44 +0000)
commit2c3a1d000636d0ec5b10ec9eae1be28daf758a16
treeaa4ebdc1e1f67b9ac140e3de4160fa259976ace2
parent601b306aaa5ac01b976388925c0ee3f803047fcc
sdp: Skip source-specific caps fields when creating an SDP media from caps

Regression from https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2132

We parse the source-specific fields from the SDP and put it into the
caps, but when converting caps into an SDP again this would need special
handling. By default it would end up as part of the fmtp field, which is
simply wrong.

Automatically putting it into the caps and SDP will need some more work.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4344>
subprojects/gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.c