summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-05-24 18:47:24 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-05-24 18:47:24 +0200
commit46270f8925299bcdf84994be1145a9dcf9d19270 (patch)
treec92fb17a77bebd089d6fb64aa0bb2998595f734a /plugins
parenta79d3a0220e242d24f43046ca7cff2a9c946bb17 (diff)
queue: Set the last serialized query result to FALSE when flushing
Diffstat (limited to 'plugins')
-rw-r--r--plugins/elements/gstqueue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c
index 71c710579..d3780ba23 100644
--- a/plugins/elements/gstqueue.c
+++ b/plugins/elements/gstqueue.c
@@ -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;