media: configure protocols in new streams

This commit is contained in:
Wim Taymans 2013-08-16 16:10:43 +02:00
parent a84b71c0f0
commit cf96774e6d

View file

@ -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);