ext/mplex/gstmplexibitstream.cc: Fix event handling (#165525).

Original commit message from CVS:
* ext/mplex/gstmplexibitstream.cc:
Fix event handling (#165525).
This commit is contained in:
Ronald S. Bultje 2005-02-08 18:51:25 +00:00
parent ebb9face41
commit e597352d19
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-02-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/mplex/gstmplexibitstream.cc:
Fix event handling (#165525).
2005-02-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/mikmod/gstmikmod.c:

View file

@ -70,17 +70,15 @@ size_t GstMplexIBitStream::ReadStreamBytes (uint8_t * buf, size_t size)
{
guint8 *
data;
guint
read;
if (eos)
return 0;
if ((read = gst_bytestream_peek_bytes (bs, &data, size)) != size) {
while (!eos && (read = gst_bytestream_peek_bytes (bs, &data, size)) != size) {
GstEvent *
event;
guint
pending;