rtspclientsink: if OPEN failed, unqueue next command
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 27 Feb 2018 19:34:49 +0000 (20:34 +0100)
committerMathieu Duponchelle <mathieu@centricular.com>
Tue, 27 Feb 2018 19:37:14 +0000 (20:37 +0100)
commit6f308daa5faa6e9dc2fc3da69b90434ea8e25b0c
treebfb43c1a70ef09036de900def58ad4d00ef2fc49
parentba9395c158093ee736a2faedd7e2689fc36bf44a
rtspclientsink: if OPEN failed, unqueue next command

As READY_TO_PAUSED can no longer return async, the RECORD
command will be queued before the OPEN command fails
(for example in case the server could not be connected),
and record then waits for ever.

https://bugzilla.gnome.org/show_bug.cgi?id=793896
gst/rtsp-sink/gstrtspclientsink.c