mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
ebb9face41
commit
e597352d19
2 changed files with 6 additions and 3 deletions
|
@ -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>
|
2005-02-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* ext/mikmod/gstmikmod.c:
|
* ext/mikmod/gstmikmod.c:
|
||||||
|
|
|
@ -70,17 +70,15 @@ size_t GstMplexIBitStream::ReadStreamBytes (uint8_t * buf, size_t size)
|
||||||
{
|
{
|
||||||
guint8 *
|
guint8 *
|
||||||
data;
|
data;
|
||||||
|
|
||||||
guint
|
guint
|
||||||
read;
|
read;
|
||||||
|
|
||||||
if (eos)
|
if (eos)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if ((read = gst_bytestream_peek_bytes (bs, &data, size)) != size) {
|
while (!eos && (read = gst_bytestream_peek_bytes (bs, &data, size)) != size) {
|
||||||
GstEvent *
|
GstEvent *
|
||||||
event;
|
event;
|
||||||
|
|
||||||
guint
|
guint
|
||||||
pending;
|
pending;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue