mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
media: configure protocols in new streams
This commit is contained in:
parent
a84b71c0f0
commit
cf96774e6d
1 changed files with 1 additions and 0 deletions
|
@ -1027,6 +1027,7 @@ gst_rtsp_media_create_stream (GstRTSPMedia * media, GstElement * payloader,
|
|||
stream = gst_rtsp_stream_new (idx, payloader, srcpad);
|
||||
if (priv->pool)
|
||||
gst_rtsp_stream_set_address_pool (stream, priv->pool);
|
||||
gst_rtsp_stream_set_protocols (stream, priv->protocols);
|
||||
|
||||
g_ptr_array_add (priv->streams, stream);
|
||||
g_mutex_unlock (&priv->lock);
|
||||
|
|
Loading…
Reference in a new issue