rtspsrc: Do not wait for response while flushing
Due to the may_cancel flag in GstRTSPConnection, receiving might not get cancelled when supposed to. In this case, gst_rtsp_src_receive_response will have to wait until timeout instead but if busy receiving RTP data, this timeout will never occur.
With this patch, gst_rtsp_src_receive_response returns GST_RTSP_EINTR if flushing is set to TRUE instead of continuing to receive.
Edited by Tobias Ronge