From 51ce4737e262b9e7c4f6b8274fb4c1190166e8be Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 9 Jun 2002 11:29:14 +0000 Subject: [PATCH] Fix the event_free mess, do a mad_sync Original commit message from CVS: Fix the event_free mess, do a mad_sync --- ext/mad/gstmad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mad/gstmad.c b/ext/mad/gstmad.c index 569cf0ea9f..43fbac70b3 100644 --- a/ext/mad/gstmad.c +++ b/ext/mad/gstmad.c @@ -708,7 +708,6 @@ gst_mad_chain (GstPad *pad, GstBuffer *buffer) gst_pad_event_default (pad, event); break; } - gst_event_free (event); return; } @@ -757,6 +756,7 @@ gst_mad_chain (GstPad *pad, GstBuffer *buffer) } mad_frame_mute (&mad->frame); mad_synth_mute (&mad->synth); + mad_stream_sync (&mad->stream); /* recoverable errors pass */ goto next; }