summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-06-09 11:29:14 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-06-09 11:29:14 +0000
commit51ce4737e262b9e7c4f6b8274fb4c1190166e8be (patch)
tree9433f9ac9ee50aa732877fe8b014fba10656f98a
parent977b96c74fc0f55d7034e0aade3faa76cfa60491 (diff)
Fix the event_free mess, do a mad_sync
Original commit message from CVS: Fix the event_free mess, do a mad_sync
-rw-r--r--ext/mad/gstmad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mad/gstmad.c b/ext/mad/gstmad.c
index 569cf0ea..43fbac70 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;
}