videodecoder: Add max-errors property
authorHaakon Sporsheim <haakon@pexip.com>
Mon, 22 Jun 2020 18:36:02 +0000 (21:36 +0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 23 Jun 2020 07:17:00 +0000 (07:17 +0000)
commit226a371e3f11ac5c825d862ae80f4f6787ca9159
tree39f92a7430570603618f09ae73eb931f73c64f42
parent220f2dd3c7277593eedc76ebfc9477f779c78227
videodecoder: Add max-errors property

The number of consecutive decode errors that should be tolerated before
returning flow error should be up to the application, not the element.

Hence max-error should be exposed as a property.

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