unref event, flush_fast
authorWim Taymans <wim.taymans@gmail.com>
Fri, 25 Oct 2002 19:16:47 +0000 (19:16 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 25 Oct 2002 19:16:47 +0000 (19:16 +0000)
Original commit message from CVS:
unref event, flush_fast

ext/mplex/gstmplex.cc

index a3723bb..635fe1c 100644 (file)
@@ -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;
 }