audioencoder: really push pending events

This commit is contained in:
Mark Nauwelaerts 2011-09-27 16:57:45 +02:00
parent 803b65613b
commit 24d71cf7a6

View file

@ -503,7 +503,7 @@ gst_audio_encoder_finish_frame (GstAudioEncoder * enc, GstBuffer * buf,
priv->pending_events = NULL;
GST_DEBUG_OBJECT (enc, "Pushing pending events");
for (l = priv->pending_events; l; l = l->next)
for (l = pending_events; l; l = l->next)
gst_pad_push_event (enc->srcpad, l->data);
g_list_free (pending_events);
}