rtprawdepay: Don't get rid of the buffer pool on FLUSH_STOP
authorSebastian Dröge <sebastian@centricular.com>
Wed, 1 May 2019 07:00:51 +0000 (10:00 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 7 Aug 2019 00:19:34 +0000 (01:19 +0100)
commit49e87840251fdcac9ffb1ed857410127ad01fc17
treed3b54a0a2a858801b48b62aa3f6fcafbc8c849a7
parent4ff2188958388382bd66c64fa01012c856441d91
rtprawdepay: Don't get rid of the buffer pool on FLUSH_STOP

We expect there to be a pool as long as the caps are known and
FLUSH_STOP is not resetting the caps. Getting rid of the pool would
cause assertions.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/584
gst/rtp/gstrtpvrawdepay.c