[gstreamer-bugs] [Bug 623104] [queue2] might create short buffer in get_range

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 29 02:06:52 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=623104
  GStreamer | gstreamer (core) | git

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-06-29 09:06:50 UTC ---
And we can't just switch the fread (1, length) to fread (length, 1) here
because we still want to be able to read the remaining bytes at EOS if there
are less than length bytes.

So maybe what's needed is a switch to fread (length, 1) preceded by some if
(queue->eos) length = MIN (length, remaining_bytes); logic.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list