queue: Set the last serialized query result to FALSE when flushing
authorSebastian Dröge <slomo@circular-chaos.org>
Fri, 24 May 2013 16:47:24 +0000 (18:47 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 24 May 2013 16:47:24 +0000 (18:47 +0200)
plugins/elements/gstqueue.c

index 71c7105..d3780ba 100644 (file)
@@ -584,6 +584,7 @@ gst_queue_locked_flush (GstQueue * queue)
     if (!GST_IS_QUERY (data))
       gst_mini_object_unref (data);
   }
+  queue->last_query = FALSE;
   GST_QUEUE_CLEAR_LEVEL (queue->cur_level);
   queue->min_threshold.buffers = queue->orig_min_threshold.buffers;
   queue->min_threshold.bytes = queue->orig_min_threshold.bytes;