Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Thibault Saunier
gst-plugins-base
Commits
6af87dee
Commit
6af87dee
authored
Oct 20, 2020
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audio/videodecoder: Initialize max_errors in instance_init()
Part-of: <
gstreamer/gst-plugins-base!882
>
parent
ed62e78c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/audio/gstaudiodecoder.c
+1
-0
gst-libs/gst/video/gstvideodecoder.c
gst-libs/gst/video/gstvideodecoder.c
+1
-0
No files found.
gst-libs/gst/audio/gstaudiodecoder.c
View file @
6af87dee
...
...
@@ -497,6 +497,7 @@ gst_audio_decoder_init (GstAudioDecoder * dec, GstAudioDecoderClass * klass)
dec
->
priv
->
plc
=
DEFAULT_PLC
;
dec
->
priv
->
drainable
=
DEFAULT_DRAINABLE
;
dec
->
priv
->
needs_format
=
DEFAULT_NEEDS_FORMAT
;
dec
->
priv
->
ctx
.
max_errors
=
GST_AUDIO_DECODER_MAX_ERRORS
;
/* init state */
dec
->
priv
->
ctx
.
min_latency
=
0
;
...
...
gst-libs/gst/video/gstvideodecoder.c
View file @
6af87dee
...
...
@@ -699,6 +699,7 @@ gst_video_decoder_init (GstVideoDecoder * decoder, GstVideoDecoderClass * klass)
/* properties */
decoder
->
priv
->
do_qos
=
DEFAULT_QOS
;
decoder
->
priv
->
max_errors
=
GST_VIDEO_DECODER_MAX_ERRORS
;
decoder
->
priv
->
min_latency
=
0
;
decoder
->
priv
->
max_latency
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment