Skip to content
Snippets Groups Projects
Commit 9f712c88 authored by Edward Hervey's avatar Edward Hervey :metal: Committed by Edward Hervey
Browse files

media-factory: Create media objects with the proper transport mode

The function called immediately afterwards (collect_streams()) will
need it to work properly
parent 580e221b
No related branches found
No related tags found
No related merge requests found
......@@ -1467,7 +1467,9 @@ default_construct (GstRTSPMediaFactory * factory, const GstRTSPUrl * url)
GST_RTSP_MEDIA_FACTORY_UNLOCK (factory);
/* create a new empty media */
media = g_object_new (media_gtype, "element", element, NULL);
media =
g_object_new (media_gtype, "element", element, "transport-mode",
factory->priv->transport_mode, NULL);
gst_rtsp_media_collect_streams (media);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment