From 24d71cf7a68e3849881ea706835eb15457e4268e Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Tue, 27 Sep 2011 16:57:45 +0200 Subject: [PATCH] audioencoder: really push pending events --- gst-libs/gst/audio/gstaudioencoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/audio/gstaudioencoder.c b/gst-libs/gst/audio/gstaudioencoder.c index 4b2df82925..7c4ab4aeb9 100644 --- a/gst-libs/gst/audio/gstaudioencoder.c +++ b/gst-libs/gst/audio/gstaudioencoder.c @@ -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); } -- 2.34.1