Fix the event_free mess, do a mad_sync

Original commit message from CVS:
Fix the event_free mess, do a mad_sync
This commit is contained in:
Wim Taymans 2002-06-09 11:29:14 +00:00
parent 977b96c74f
commit 51ce4737e2

View file

@ -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;
}