Commit 6cda5d34 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

audiodecoder: If there are no tags, don't try to do event handling on a NULL event

Fixes some crashes.
parent 2de91c32
......@@ -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;
/* No tags, go out of here instead of fall through */
if (!event) {
ret = TRUE;
/* fall through */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment