mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
media: configure address pool in new streams
This commit is contained in:
parent
44a2855eb3
commit
4168a67992
1 changed files with 2 additions and 0 deletions
|
@ -709,6 +709,8 @@ gst_rtsp_media_create_stream (GstRTSPMedia * media, GstElement * payloader,
|
|||
g_free (name);
|
||||
|
||||
stream = gst_rtsp_stream_new (idx, payloader, srcpad);
|
||||
if (media->pool)
|
||||
gst_rtsp_stream_set_address_pool (stream, media->pool);
|
||||
|
||||
g_ptr_array_add (media->streams, stream);
|
||||
g_mutex_unlock (&media->lock);
|
||||
|
|
Loading…
Reference in a new issue