videoaggregator: keep old buffer when processing a MISSING_DATA gap
authorMathieu Duponchelle <mathieu@centricular.com>
Thu, 26 Nov 2020 17:18:52 +0000 (18:18 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 22 Apr 2022 17:43:50 +0000 (17:43 +0000)
commit4ef3b1ad8fc49e27fa59f256df1442e662218bdc
tree98c3b70133c88c8d25f5af563346c0ca27fb7e65
parent7988acad3653d8e2dcaef00095426278548ad6ac
videoaggregator: keep old buffer when processing a MISSING_DATA gap

GAP events flagged with MISSING_DATA are transformed into GAP buffers
flagged with CORRUPTED.

In these cases, it is preferable to simply keep rendering the previous
buffer (if there was one) instead of flashing the pad in and out of
view.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/708>
subprojects/gst-plugins-base/gst-libs/gst/video/gstvideoaggregator.c