audiodecoder: 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-28 16:05:16 +00:00
parent 9e5cce0ab9
commit fa863b2b7f

View file

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