diff options
Diffstat (limited to 'ext/mplex')
-rw-r--r-- | ext/mplex/gstmplex.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |