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.
This commit is contained in:
Mark Nauwelaerts 2011-06-06 12:42:53 +02:00
parent f6c348430e
commit 785247cfb3

View file

@ -6457,6 +6457,8 @@ gst_rtspsrc_thread (GstRTSPSrc * src)
else if (src->task) else if (src->task)
gst_task_pause (src->task); gst_task_pause (src->task);
} }
/* reset waiting */
src->waiting = FALSE;
GST_OBJECT_UNLOCK (src); GST_OBJECT_UNLOCK (src);
} }