mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtspsrc: avoid strdup
This commit is contained in:
parent
f01b751e52
commit
2d276e1bcb
1 changed files with 2 additions and 3 deletions
|
@ -5458,9 +5458,8 @@ gst_rtspsrc_setup_streams (GstRTSPSrc * src, gboolean async)
|
||||||
goto create_request_failed;
|
goto create_request_failed;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* select transport, copy is made when adding to header so we can free it. */
|
/* select transport */
|
||||||
gst_rtsp_message_add_header (&request, GST_RTSP_HDR_TRANSPORT, transports);
|
gst_rtsp_message_take_header (&request, GST_RTSP_HDR_TRANSPORT, transports);
|
||||||
g_free (transports);
|
|
||||||
|
|
||||||
/* if the user wants a non default RTP packet size we add the blocksize
|
/* if the user wants a non default RTP packet size we add the blocksize
|
||||||
* parameter */
|
* parameter */
|
||||||
|
|
Loading…
Reference in a new issue