queue: Flush the internal queue when we see GST_FLOW_FLUSHING
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 29 Mar 2012 15:44:02 +0000 (17:44 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 29 Mar 2012 15:46:35 +0000 (17:46 +0200)
commit2bdd71a710fcb034b327c67b00d334e1cc46cb1d
tree4bc9f5babe4edec3b0f99cc19fd31f7a7230ffa2
parentc36748177f62c9f088a0068d9387d640b8d30174
queue: Flush the internal queue when we see GST_FLOW_FLUSHING

Ensures that we don't end up with stale contents (like GstQuery) in
the internal GQueue after any blocking upstream thread returns.
plugins/elements/gstqueue.c