mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
rtspsrc: Fix session cleanup when handling redirect on PLAY
Redirect on PLAY wasn't doing the necessary session cleanup. Fixed by removing code from gst_rtspsrc_send that changed the state varable upon encountering a redirect. Better to let the redirect handlers in gst_rtspsrc_retrieve_sdp and gst_rtspsrc_play do their own state-dependent cleanup. https://bugzilla.gnome.org/show_bug.cgi?id=775543
This commit is contained in:
parent
bc9f06f37b
commit
bc2adef550
1 changed files with 0 additions and 1 deletions
|
@ -5571,7 +5571,6 @@ error_response:
|
||||||
src->conninfo.url->transports = transports;
|
src->conninfo.url->transports = transports;
|
||||||
|
|
||||||
src->need_redirect = TRUE;
|
src->need_redirect = TRUE;
|
||||||
src->state = GST_RTSP_STATE_INIT;
|
|
||||||
res = GST_RTSP_OK;
|
res = GST_RTSP_OK;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue