appsrc: retain the latest caps in queue when flushing
authorVikram Fugro <vikram.fugro@gmail.com>
Mon, 7 Sep 2015 20:05:19 +0000 (01:35 +0530)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 9 Sep 2015 09:27:40 +0000 (12:27 +0300)
commitbbe967a2780469daac99d5f599bd54b41651aff0
tree55984c987147e6fd07dac35012ee7b1331e231b5
parent86a1092e5923805e17ad09a0c7b1aa10197a4b97
appsrc: retain the latest caps in queue when flushing

- Retain the latest caps in the internal queue, when
  flushing.
- Add a unit test case for the same.

https://bugzilla.gnome.org/show_bug.cgi?id=754597
gst-libs/gst/app/gstappsrc.c
tests/check/elements/appsrc.c