rtspsrc: non-flushing seek when connecting over TCP causes deadlock
Code deadlocks on stream lock:
/* we should now be able to grab the streaming thread because we stopped it
* with the above flush/pause code */
GST_RTSP_STREAM_LOCK (src);
GST_DEBUG_OBJECT (src, "stopped streaming");
This is on latest master via gst-build. OS is Windows 10, running in Visual Studio with debug symbols loaded.
Code that triggers the event:
double speed = 4.0;
GstSeekFlags flags = (GstSeekFlags)( GST_SEEK_FLAG_TRICKMODE);
/* Create the seek event */
seek_event =
gst_event_new_seek(speed, GST_FORMAT_PERCENT, flags, GST_SEEK_TYPE_NONE,
0, GST_SEEK_TYPE_NONE, 0);
/* Send the event */
gboolean res = gst_element_send_event(m_playbin, seek_event);