When flushing is true, abort a call to gstrtsp.rtspwatch.RTSPWatch.waitBacklog and make sure gstrtsp.rtspwatch.RTSPWatch.writeData returns immediately with #GST_RTSP_EINTR. And empty the queue.
new flushing state
When flushing is true, abort a call to gstrtsp.rtspwatch.RTSPWatch.waitBacklog and make sure gstrtsp.rtspwatch.RTSPWatch.writeData returns immediately with #GST_RTSP_EINTR. And empty the queue.