Skip to content

rtspsrc: don't interrupt TEARDOWN on stopping

This is a workaround that prevents race condition "rtspsrc_connection_flush vs rtspsrc_cleanup".

In case of rtsp redirection it may happen, that tearing down the first url will be interrupted by state change to NULL. This triggers a race condition: gst_rtsp_connection_flush will iterate "src->streams", and at the same time gst_rtsp_cleanup may free this list.

Merge request reports