mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
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>
This commit is contained in:
parent
601b306aaa
commit
2c3a1d0006
1 changed files with 2 additions and 0 deletions
|
@ -3912,6 +3912,8 @@ gst_sdp_media_set_media_from_caps (const GstCaps * caps, GstSDPMedia * media)
|
|||
continue;
|
||||
if (g_str_has_prefix (fname, "rtcp-fb-"))
|
||||
continue;
|
||||
if (g_str_has_prefix (fname, "ssrc-"))
|
||||
continue;
|
||||
|
||||
if (!strcmp (fname, "a-framesize")) {
|
||||
/* a-framesize attribute */
|
||||
|
|
Loading…
Reference in a new issue