From fa863b2b7f9b23746c64f96911c05a5e9ac38f0b Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Mon, 28 Nov 2022 16:05:16 +0000 Subject: [PATCH] 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: --- .../gst-plugins-base/gst-libs/gst/audio/gstaudiodecoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiodecoder.h b/subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiodecoder.h index 678c1f2762..03fb675390 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiodecoder.h +++ b/subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiodecoder.h @@ -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: