videodecoder: Make data processing errors non-fatal by default
authorPhilippe Normand <philn@igalia.com>
Wed, 30 Nov 2022 10:27:27 +0000 (10:27 +0000)
committerPhilippe Normand <philn@igalia.com>
Wed, 30 Nov 2022 10:27:27 +0000 (10:27 +0000)
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>

subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.h

index a382873..3556fd3 100644 (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
 
 
 /**