From 785247cfb315bcdaa989114497464de7189a08d1 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Mon, 6 Jun 2011 12:42:53 +0200 Subject: [PATCH] rtspsrc: reset state tracking variable when appropriate ... so we don't end up interrupting an operation that should not be interrupted based on the indication of a previous interruptable operation. --- gst/rtsp/gstrtspsrc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 7ae7097859..78b968ff6e 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -6457,6 +6457,8 @@ gst_rtspsrc_thread (GstRTSPSrc * src) else if (src->task) gst_task_pause (src->task); } + /* reset waiting */ + src->waiting = FALSE; GST_OBJECT_UNLOCK (src); }