VideoDecoder.setMaxErrors

Sets numbers of tolerated decoder errors, where a tolerated one is then only warned about, but more than tolerated will lead to fatal error. You can set -1 for never returning fatal errors. Default is set to GST_VIDEO_DECODER_MAX_ERRORS.

The '-1' option was added in 1.4

class VideoDecoder
void
setMaxErrors
(
int num
)

Parameters

num int

max tolerated errors