rtspsrc: reset state tracking variable when appropriate
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 6 Jun 2011 10:42:53 +0000 (12:42 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 6 Jun 2011 10:59:23 +0000 (12:59 +0200)
... 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

index 7ae7097..78b968f 100644 (file)
@@ -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);
 }