gstreamer/gst-libs/gst
Sanchayan Maity 5aa836848e audiodecoder: Move max_errors out of GstAudioDecoderContext
Currently max-errors gets set during init to default or via property.
However, if a decoder element calls gst_audio_decoder_reset with 'full'
argument set to TRUE, it would result in all the fields of context being
zeroed with memset. This effectively results in max-errors getting a
value of 0 overriding the default or user requested value set during
init.

This would result in calls to GST_AUDIO_DECODER_ERROR which track error
counts and allow max-errors, to be ineffective.

To fix this move max-errors out of GstAudioDecoderContext, as changes to
context should not affect this. The error_count is anyways also in
GstAudioDecoderPrivate and not in context.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/946>
2020-11-27 14:49:10 +05:30
..
allocators fdmemory: Allow for change of protection mode 2020-10-28 17:11:05 +00:00
app Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
audio audiodecoder: Move max_errors out of GstAudioDecoderContext 2020-11-27 14:49:10 +05:30
fft Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
gl gl: Fix prototype of glGetSynciv() 2020-11-03 16:40:38 +02:00
pbutils Fix segfault when using invalid encoding profile 2020-11-10 23:26:39 +01:00
riff Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
rtp Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
rtsp Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
sdp Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
tag Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
video video: Provide "deprecated in" version for gst_video_color_transfer fns 2020-11-25 20:19:39 +01:00
gettext.h Fix FSF address 2012-11-03 23:05:09 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 23:05:09 +00:00
gst-i18n-app.h tools: add simple command-line gst-play utility for testing purposes 2013-08-16 15:45:23 +01:00
gst-i18n-plugin.h Fix FSF address 2012-11-03 23:05:09 +00:00
meson.build meson: Add feature options for all plugins 2018-07-27 18:42:11 +05:30