mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
sdpdemux: Add SDP message (aka session) attributes to the caps too
They apply to all medias, and if overridden by the specific media then they would also be overridden just below in the created caps. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6079>
This commit is contained in:
parent
b4ee86d1e7
commit
2c8f232d79
1 changed files with 1 additions and 0 deletions
|
@ -672,6 +672,7 @@ gst_sdp_demux_create_stream (GstSDPDemux * demux, GstSDPMessage * sdp, gint idx)
|
|||
s = gst_caps_get_structure (stream->caps, 0);
|
||||
gst_structure_set_name (s, "application/x-rtp");
|
||||
|
||||
gst_sdp_message_attributes_to_caps (sdp, stream->caps);
|
||||
gst_sdp_media_attributes_to_caps (media, stream->caps);
|
||||
|
||||
if (stream->pt >= 96) {
|
||||
|
|
Loading…
Reference in a new issue