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
Sebastian Dröge
gst-plugins-base
Commits
6cda5d34
Commit
6cda5d34
authored
Aug 18, 2015
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audiodecoder: If there are no tags, don't try to do event handling on a NULL event
Fixes some crashes.
parent
2de91c32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/audio/gstaudiodecoder.c
+6
-0
No files found.
gst-libs/gst/audio/gstaudiodecoder.c
View file @
6cda5d34
...
...
@@ -2343,6 +2343,12 @@ gst_audio_decoder_sink_eventfunc (GstAudioDecoder * dec, GstEvent * event)
event
=
gst_audio_decoder_create_merged_tags_event
(
dec
);
dec
->
priv
->
taglist_changed
=
FALSE
;
GST_AUDIO_DECODER_STREAM_UNLOCK
(
dec
);
/* No tags, go out of here instead of fall through */
if
(
!
event
)
{
ret
=
TRUE
;
break
;
}
}
/* fall through */
...
...
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