mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
rtsp: Update the initial_buffer when merging RTSP Connections
See https://bugzilla.gnome.org/show_bug.cgi?id=679337
This commit is contained in:
parent
aa261162d2
commit
de9aeb0c72
1 changed files with 5 additions and 0 deletions
|
@ -2864,6 +2864,11 @@ gst_rtsp_connection_do_tunnel (GstRTSPConnection * conn,
|
|||
conn->read_socket = conn->socket1;
|
||||
|
||||
conn->tstate = TUNNEL_STATE_COMPLETE;
|
||||
|
||||
g_free (conn->initial_buffer);
|
||||
conn->initial_buffer = conn2->initial_buffer;
|
||||
conn2->initial_buffer = NULL;
|
||||
conn->initial_buffer_offset = conn2->initial_buffer_offset;
|
||||
}
|
||||
|
||||
/* we need base64 decoding for the readfd */
|
||||
|
|
Loading…
Reference in a new issue