From 0f8c7683d1edf5c0235c2a60ddd76bcd989262ed Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 25 Oct 2002 19:16:47 +0000 Subject: unref event, flush_fast Original commit message from CVS: unref event, flush_fast --- ext/mplex/gstmplex.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index a3723bb0..635fe1ce 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -289,12 +289,13 @@ gst_mplex_read_callback (BitStream *bitstream, uint8_t *dest, size_t size, void default: break; } + gst_event_unref (event); } } memcpy (dest, data, len); - gst_bytestream_flush (stream->bytestream, len); + gst_bytestream_flush_fast (stream->bytestream, len); return len; } -- cgit v1.2.1