videodecoder: Make data processing errors non-fatal by default

The previous default value of `max-errors` was too small and would potentially trigger the
decoder to emit errors too often for most cases.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3478>
This commit is contained in:
Philippe Normand 2022-11-30 10:27:27 +00:00
parent 12aa3925d0
commit 9e5cce0ab9

View file

@ -161,7 +161,7 @@ G_STMT_START { \
*
* Default maximum number of errors tolerated before signaling error.
*/
#define GST_VIDEO_DECODER_MAX_ERRORS 10
#define GST_VIDEO_DECODER_MAX_ERRORS -1
/**