mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
sdpdemux: add media attributes to caps to fix ptp clock handling
Those are needed by rtpjitterbuffer to do the right thing, e.g. a=ts-refclk:ptp=IEEE1588-2008:00-**-**-**-**-**-**-**:0 a=mediaclk:direct=1266592257 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1924>
This commit is contained in:
parent
67df5815a9
commit
6fec258930
1 changed files with 2 additions and 0 deletions
|
@ -402,6 +402,8 @@ 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_media_attributes_to_caps (media, stream->caps);
|
||||
|
||||
if (stream->pt >= 96) {
|
||||
/* If we have a dynamic payload type, see if we have a stream with the
|
||||
* same payload number. If there is one, they are part of the same
|
||||
|
|
Loading…
Reference in a new issue