mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
rtspsrc: set SSRC on caps if known
This commit is contained in:
parent
5ec8c96966
commit
4846be1491
1 changed files with 3 additions and 0 deletions
|
@ -3536,6 +3536,9 @@ gst_rtspsrc_stream_configure_transport (GstRTSPStream * stream,
|
|||
|
||||
s = gst_caps_get_structure (item->caps, 0);
|
||||
gst_structure_set_name (s, media_type);
|
||||
/* set ssrc if known */
|
||||
if (transport->ssrc)
|
||||
gst_structure_set (s, "ssrc", G_TYPE_UINT, transport->ssrc, NULL);
|
||||
}
|
||||
|
||||
/* try to get and configure a manager, channelpad[0-1] will be configured with
|
||||
|
|
Loading…
Reference in a new issue