From: Mark Nauwelaerts Date: Mon, 6 Jun 2011 10:42:53 +0000 (+0200) Subject: rtspsrc: reset state tracking variable when appropriate X-Git-Tag: 1.19.3~509^2~7136^2~497 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=785247cfb315bcdaa989114497464de7189a08d1;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 7ae7097..78b968f 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); }