mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +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/4338>
This commit is contained in:
parent
43e4db9fc9
commit
a17209220f
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