queue2: clear seeking flag in all cases

Also clear the seeking flag when downstream is in pull mode.
This commit is contained in:
Wim Taymans 2012-04-10 16:04:54 +02:00
parent fd9c328260
commit 2e28804a6e

View file

@ -2195,6 +2195,7 @@ gst_queue2_handle_sink_event (GstPad * pad, GstEvent * event)
queue->is_eos = FALSE;
queue->unexpected = FALSE;
queue->sinkresult = GST_FLOW_OK;
queue->seeking = FALSE;
GST_QUEUE2_MUTEX_UNLOCK (queue);
gst_event_unref (event);