rtspsrc: also allow PAUSE to be interrupted

... as it is on the way out to NULL.

See #632504.
This commit is contained in:
Mark Nauwelaerts 2011-04-06 16:05:55 +02:00
parent 283e4e4afd
commit dc2ddea91b

View file

@ -6407,7 +6407,7 @@ gst_rtspsrc_thread (GstRTSPSrc * src)
gst_rtspsrc_connection_flush (src, FALSE);
/* we allow these to be interrupted */
if (cmd == CMD_LOOP || cmd == CMD_CLOSE)
if (cmd == CMD_LOOP || cmd == CMD_CLOSE || cmd == CMD_PAUSE)
src->waiting = TRUE;
GST_OBJECT_UNLOCK (src);