audiodecoder: really push pending events

This commit is contained in:
Mark Nauwelaerts 2011-09-28 15:41:16 +02:00
parent e4e2e3c7b0
commit 8633eb391d

View file

@ -735,7 +735,7 @@ gst_audio_decoder_finish_frame (GstAudioDecoder * dec, GstBuffer * buf,
priv->pending_events = NULL;
GST_DEBUG_OBJECT (dec, "Pushing pending events");
for (l = priv->pending_events; l; l = l->next)
for (l = pending_events; l; l = l->next)
gst_pad_push_event (dec->srcpad, l->data);
g_list_free (pending_events);
}