summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Staples <staples255@gmail.com>2016-12-05 07:57:19 -0700
committerSebastian Dröge <sebastian@centricular.com>2016-12-05 18:23:31 +0200
commitbc2adef5506602760cdd73ca6562f793e1d991bb (patch)
tree50ee43491a763a232b53e6fcb3ca98ee2ec9a4a0
parentbc9f06f37b856be0b3270e62e58feac635239556 (diff)
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
-rw-r--r--gst/rtsp/gstrtspsrc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 5d93c1001..f0cd0dc91 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -5571,7 +5571,6 @@ error_response:
src->conninfo.url->transports = transports;
src->need_redirect = TRUE;
- src->state = GST_RTSP_STATE_INIT;
res = GST_RTSP_OK;
break;
}