Commit 706d9137 authored by Tobias Ronge's avatar Tobias Ronge Committed by GStreamer Merge Bot

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.

Part-of: <!831>
parent c854e6bd
Pipeline #256505 waiting for manual action with stages
in 42 seconds