summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-10-25 19:16:47 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-10-25 19:16:47 +0000
commit0f8c7683d1edf5c0235c2a60ddd76bcd989262ed (patch)
tree3b927557bcb6a3799e288e5b1a62d1049f2cffd2 /ext
parentcd3adce1fbee0f4a5878bf772f023fed661526a0 (diff)
downloadgstreamer-plugins-bad-0f8c7683d1edf5c0235c2a60ddd76bcd989262ed.tar.gz
unref event, flush_fast
Original commit message from CVS: unref event, flush_fast
Diffstat (limited to 'ext')
-rw-r--r--ext/mplex/gstmplex.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc
index a3723bb0a..635fe1ce6 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;
}