diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c index b9ecc8d36b..8da5ceafec 100644 --- a/gst-libs/gst/audio/gstaudiodecoder.c +++ b/gst-libs/gst/audio/gstaudiodecoder.c @@ -554,7 +554,6 @@ gst_audio_decoder_reset (GstAudioDecoder * dec, gboolean full) gst_audio_info_init (&dec->priv->ctx.info); GST_OBJECT_UNLOCK (dec); - dec->priv->ctx.max_errors = GST_AUDIO_DECODER_MAX_ERRORS; dec->priv->ctx.had_output_data = FALSE; dec->priv->ctx.had_input_data = FALSE; } diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c index 0bcd16f773..a4dbc74a02 100644 --- a/gst-libs/gst/video/gstvideodecoder.c +++ b/gst-libs/gst/video/gstvideodecoder.c @@ -2214,7 +2214,6 @@ gst_video_decoder_reset (GstVideoDecoder * decoder, gboolean full, priv->pending_events = NULL; priv->error_count = 0; - priv->max_errors = GST_VIDEO_DECODER_MAX_ERRORS; priv->had_output_data = FALSE; priv->had_input_data = FALSE;